Advertisement
Guest User

Untitled

a guest
Jan 27th, 2020
463
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.40 KB | None | 0 0
  1. pi@bpi-iot-ros-ai:~ $ sudo mount /dev/sdb1 /mnt/a
  2. mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
  3.        missing codepage or helper program, or other error
  4.  
  5.        In some cases useful info is found in syslog - try
  6.        dmesg | tail or so.
  7. pi@bpi-iot-ros-ai:~ $ sudo parted /dev/sdb
  8. GNU Parted 3.2
  9. Using /dev/sdb
  10. Welcome to GNU Parted! Type 'help' to view a list of commands.
  11. (parted) print
  12. Model: StoreJet  Transcend (scsi)
  13. Disk /dev/sdb: 250GB
  14. Sector size (logical/physical): 512B/512B
  15. Partition Table: msdos
  16. Disk Flags:
  17.  
  18. Number  Start   End    Size   Type     File system  Flags
  19.  1      1049kB  250GB  250GB  primary  ext4
  20.  
  21. (parted) rm 1
  22. (parted) print
  23. Model: StoreJet  Transcend (scsi)
  24. Disk /dev/sdb: 250GB
  25. Sector size (logical/physical): 512B/512B
  26. Partition Table: msdos
  27. Disk Flags:
  28.  
  29. Number  Start  End  Size  Type  File system  Flags
  30.  
  31. (parted) mklabel msdos
  32. Warning: The existing disk label on /dev/sdb will be destroyed and all data on this disk will be lost. Do you want
  33. to continue?
  34. Yes/No? Yes
  35. (parted) mkpart primary ext4 1MiB 100%
  36. (parted) print
  37. Model: StoreJet  Transcend (scsi)
  38. Disk /dev/sdb: 250GB
  39. Sector size (logical/physical): 512B/512B
  40. Partition Table: msdos
  41. Disk Flags:
  42.  
  43. Number  Start   End    Size   Type     File system  Flags
  44.  1      1049kB  250GB  250GB  primary  ext4         lba
  45.  
  46. (parted) quit
  47. Information: You may need to update /etc/fstab.
  48.  
  49. pi@bpi-iot-ros-ai:~ $ sudo parted /dev/sdb
  50. GNU Parted 3.2
  51. Using /dev/sdb
  52. Welcome to GNU Parted! Type 'help' to view a list of commands.
  53. (parted) quit
  54. pi@bpi-iot-ros-ai:~ $ sudo mkfs.ext4 /dev/sdb1
  55. mke2fs 1.43.3 (04-Sep-2016)
  56. /dev/sdb1 contains a ext4 file system
  57.         created on Mon Jan 27 19:34:39 2020
  58. Proceed anyway? (y,n) y
  59. Suggestion: Use Linux kernel >= 3.18 for improved stability of the metadata and journal checksum features.
  60. Creating filesystem with 61049344 4k blocks and 15269888 inodes
  61. Filesystem UUID: 86c2d2b8-c4aa-4816-9907-516bcd6f34e1
  62. Superblock backups stored on blocks:
  63.         32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
  64.         4096000, 7962624, 11239424, 20480000, 23887872
  65.  
  66. Allocating group tables: done
  67. Writing inode tables: done
  68. Creating journal (262144 blocks): done
  69. Writing superblocks and filesystem accounting information: done
  70.  
  71. pi@bpi-iot-ros-ai:~ $ sudo mount /dev/sdb1 /mnt/a
  72. mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
  73.        missing codepage or helper program, or other error
  74.  
  75.        In some cases useful info is found in syslog - try
  76.        dmesg | tail or so.
  77. pi@bpi-iot-ros-ai:~ $ dmesg | tail or so
  78. tail: cannot open β€˜or’ for reading: No such file or directory
  79. tail: cannot open β€˜so’ for reading: No such file or directory
  80. pi@bpi-iot-ros-ai:~ $ dmesg | tail
  81. [ 1207.326141] [rfkill]: rfkill set power 0
  82. [ 1212.366738] [rfkill]: rfkill set power 0
  83. [ 1217.406139] [rfkill]: rfkill set power 0
  84. [ 1222.446093] [rfkill]: rfkill set power 0
  85. [ 1227.485944] [rfkill]: rfkill set power 0
  86. [ 1232.527153] [rfkill]: rfkill set power 0
  87. [ 1237.567162] [rfkill]: rfkill set power 0
  88. [ 1242.606512] [rfkill]: rfkill set power 0
  89. [ 1247.646688] [rfkill]: rfkill set power 0
  90. [ 1252.686483] [rfkill]: rfkill set power 0
  91. pi@bpi-iot-ros-ai:~ $ dmesg | grep sdb1
  92. [   25.791817]  sdb: sdb1
  93. [   29.836390] EXT4-fs (sdb1): couldn't mount RDWR because of unsupported optional features (400)
  94. [  178.992394] EXT4-fs (sdb1): couldn't mount RDWR because of unsupported optional features (400)
  95. [  301.185232] EXT4-fs (sdb1): couldn't mount RDWR because of unsupported optional features (400)
  96. [  318.209026]  sdb: sdb1
  97. [  319.202418] EXT4-fs (sdb1): couldn't mount RDWR because of unsupported optional features (400)
  98. [  338.577850]  sdb: sdb1
  99. [  339.461389] EXT4-fs (sdb1): couldn't mount RDWR because of unsupported optional features (400)
  100. [ 1204.994044] EXT4-fs (sdb1): couldn't mount RDWR because of unsupported optional features (400)
  101. pi@bpi-iot-ros-ai:~ $ fdisk -l /dev/sdb
  102. fdisk: cannot open /dev/sdb: Permission denied
  103. pi@bpi-iot-ros-ai:~ $ sudo fdisk -l /dev/sdb
  104.  
  105. Disk /dev/sdb: 232.9 GiB, 250059350016 bytes, 488397168 sectors
  106. Units: sectors of 1 * 512 = 512 bytes
  107. Sector size (logical/physical): 512 bytes / 512 bytes
  108. I/O size (minimum/optimal): 512 bytes / 512 bytes
  109. Disklabel type: dos
  110. Disk identifier: 0x0401421c
  111.  
  112. Device     Boot Start       End   Sectors   Size Id Type
  113. /dev/sdb1        2048 488396799 488394752 232.9G 83 Linux
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement