Unable to mount USB Flash memory created on CentOS
James B. Byrne
byrnejb at harte-lyne.ca
Mon Jul 31 19:33:29 UTC 2017
I put one of the subject usb flash drives into a CentOS-6 box and ran
mke2fs -n on the partition. This gave me the backup superblock
addresses.
# mke2fs -n /dev/sdb
mke2fs 1.41.12 (17-May-2010)
/dev/sdb is entire device, not just one partition!
Proceed anyway? (y,n) y
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
122400 inodes, 489216 blocks
24460 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=503316480
15 block groups
32768 blocks per group, 32768 fragments per group
8160 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Which information I used to run fsck:
# e2fsck -b 32768 /dev/sdb1
e2fsck 1.41.12 (17-May-2010)
CA_HLL_2016_BKUP was not cleanly unmounted, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences: -(73728--81919) . . .
. . .
97895--97897) -97900 -97904 -97907 -(97911--97912) -97914
-(97916--97917) -(97919--97920)
Fix<y>? yes
Free inodes count wrong for group #0 (8149, counted=5908).
Fix<y>? yes
Directories count wrong for group #0 (2, counted=219).
Fix<y>? yes
Free inodes count wrong for group #1 (8160, counted=8148).
Fix<y>? yes
Directories count wrong for group #1 (0, counted=12).
Fix<y>? yes
Free inodes count wrong (122389, counted=120136).
Fix<y>? yes
CA_HLL_2016_BKUP: ***** FILE SYSTEM WAS MODIFIED *****
CA_HLL_2016_BKUP: 2264/122400 files (0.0% non-contiguous),
20686/489141 blocks
This has not repaired whatever is keeping the Mate desktop from
mounting the device. But as that is a matter of convenience rather
than necessity I will simply deal with unit through the command line.
Thank you for all tghehelp.
--
*** e-Mail is NOT a SECURE channel ***
Do NOT transmit sensitive data via e-Mail
Do NOT open attachments nor follow links sent by e-Mail
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
More information about the freebsd-questions
mailing list