Guest User

Untitled

a guest
Dec 12th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. $fdisk -l
  2.  
  3. Disk /dev/sda: 1999.0 GB, 1998998994944 bytes
  4. 255 heads, 63 sectors/track, 243031 cylinders, total 3904294912 sectors
  5. Units = sectors of 1 * 512 = 512 bytes
  6. Sector size (logical/physical): 512 bytes / 512 bytes
  7. I/O size (minimum/optimal): 512 bytes / 512 bytes
  8. Disk identifier: 0x000a6eb5
  9.  
  10. Device Boot Start End Blocks Id System
  11. /dev/sda1 * 2048 1953124351 976561152 83 Linux
  12. /dev/sda2 1953126398 2070310911 58592257 5 Extended
  13. /dev/sda5 1953126400 2070310911 58592256 82 Linux swap / Solaris
  14.  
  15. Disk /dev/sdb: 1999.0 GB, 1998998994944 bytes
  16. 31 heads, 7 sectors/track, 17992142 cylinders, total 3904294912 sectors
  17. Units = sectors of 1 * 512 = 512 bytes
  18. Sector size (logical/physical): 512 bytes / 512 bytes
  19. I/O size (minimum/optimal): 512 bytes / 512 bytes
  20. Disk identifier: 0x49802e7d
  21.  
  22. Device Boot Start End Blocks Id System
  23. /dev/sdb1 2048 3904294911 1952146432 83 Linux
  24.  
  25. $ mkfs.xfs -i size=1024 /dev/sdb
  26.  
  27. $tune2fs -l /dev/sdb1 |grep -i inode
  28. tune2fs: Bad magic number in super-block while trying to open /dev/sdb1
  29. Couldn't find valid filesystem superblock.
  30.  
  31. mkfs.xfs -i size=1024 /dev/sdb1
Add Comment
Please, Sign In to add comment