daily pastebin goal
17%
SHARE
TWEET

Untitled

a guest May 17th, 2018 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ mount -o discard,defaults /dev/sdb /mnt/disks/data
  2. mount: /dev/sdb: can't read superblock
  3.  
  4. $ fdisk -l
  5. ...
  6. Disk /dev/sdb: 1000 GiB, 1073741824000 bytes, 2097152000 sectors
  7. Units: sectors of 1 * 512 = 512 bytes
  8. Sector size (logical/physical): 512 bytes / 4096 bytes
  9. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  10.  
  11. $ lsblk
  12. NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
  13. sdb      8:16   0 1000G  0 disk
  14. sda      8:0    0   10G  0 disk
  15. └─sda1   8:1    0   10G  0 part /
  16.  
  17. $ fsck.ext4 -v /dev/sdb
  18. e2fsck 1.42.13 (17-May-2015)
  19. /dev/sdb has unsupported feature(s): metadata_csum
  20. e2fsck: Get a newer version of e2fsck!
  21.  
  22. $ cat /etc/fstab
  23. LABEL=cloudimg-rootfs   /    ext4   defaults    0 0
RAW Paste Data
Top