Issue
USB drive not visible
I have a ClearOS 7.3 system that has lost it's USB drive used for BMB.
As seen here the underlying OS is seeing the disc, but that's the only place it's showing.
Output from lsblk -io KNAME,TYPE,SIZE,MODE
Output from df
The server was rebooted on Friday but that didn't help.
System Details
Item Value
Version ClearOS release 7.3.0 (Final)
Kernel Version 3.10.0-514.16.1.v7.x86_64
System Time Mon May 22 13:32:28 CEST 2017
CPU Model Intel(R) Xeon(R) CPU E5620 @ 2.40GHz
Memory Size 11.56 GB
Uptime 2 Days 20.3 Hours
Load 0.00 0.01 0.05
Filesystem Summary
Filesystem Size Used Available Use % Mounted
/dev/mapper/clearos-root 271G 47G 224G 18% /
/dev/sda1 497M 218M 280M 44% /boot
As seen here the underlying OS is seeing the disc, but that's the only place it's showing.
Output from lsblk -io KNAME,TYPE,SIZE,MODE
lsblk -io KNAME,TYPE,SIZE,MODE
KNAME TYPE SIZE MODE
sda disk 278.9G brw-rw----
sda1 part 500M brw-rw----
sda2 part 278.4G brw-rw----
dm-0 lvm 7.9G brw-rw----
dm-1 lvm 270.5G brw-rw----
sdb disk 1.8T brw-rw----
sdb1 part 128M brw-rw----
sdb2 part 1.8T brw-rw----
sr0 rom 1024M brw-rw----
Output from df
df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/clearos-root 283464468 49003516 234460952 18% /
devtmpfs 6050756 0 6050756 0% /dev
tmpfs 6061556 12 6061544 1% /dev/shm
tmpfs 6061556 25404 6036152 1% /run
tmpfs 6061556 0 6061556 0% /sys/fs/cgroup
/dev/sda1 508588 222596 285992 44% /boot
tmpfs 1212312 0 1212312 0% /run/user/994
tmpfs 1212312 0 1212312 0% /run/user/0
The server was rebooted on Friday but that didn't help.
Share this post:
Responses (8)
-
Accepted Answer
I don't know how BMB works, but normally you'd have to mount your USB Drive somewhere. Which disk is it that your are referring to? sdb or sr0? Where would you expect to see it mounted? I don't think ClearOS supports auto-mounting of disks when they are hot-plugged. What is the contents of /etc/fstab? -
Accepted Answer
Nick
USB drives are auto mounted and visible in the GUI, well they're supposed to, just not this one.
It was working just fine for some time.
I have tested with a small USB pen drive and that shows up.
The drive in question is sdb.
cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Mon Jun 6 14:51:10 2016
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/clearos-root / xfs defaults 0 0
UUID=06bbd3e6-602b-4449-b911-395bc5fba6a3 /boot xfs defaults 0 0
/dev/mapper/clearos-swap swap swap defaults 0 0
-
Accepted Answer
-
Accepted Answer
Nick
Following an replug of the external drive and the insertion of a small USB drive I get the following:
[253506.421277] usb 2-4: USB disconnect, device number 5
[253506.422335] sd 4:0:0:0: [sdb] Synchronizing SCSI cache
[253506.513155] sd 4:0:0:0: [sdb] Synchronize Cache(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[253520.970781] usb 2-4: new high-speed USB device number 6 using ehci-pci
[253521.160299] usb 2-4: New USB device found, idVendor=058f, idProduct=6387
[253521.160304] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[253521.160307] usb 2-4: Product: Mass Storage
[253521.160310] usb 2-4: Manufacturer: Generic
[253521.160312] usb 2-4: SerialNumber: A738F4AD
[253521.160723] usb-storage 2-4:1.0: USB Mass Storage device detected
[253521.160941] scsi host5: usb-storage 2-4:1.0
[253522.163883] scsi 5:0:0:0: Direct-Access Generic Flash Disk 8.07 PQ: 0 ANSI: 4
[253522.164320] sd 5:0:0:0: Attached scsi generic sg2 type 0
[253522.166183] sd 5:0:0:0: [sdb] 7946240 512-byte logical blocks: (4.06 GB/3.78 GiB)
[253522.167305] sd 5:0:0:0: [sdb] Write Protect is off
[253522.167310] sd 5:0:0:0: [sdb] Mode Sense: 23 00 00 00
[253522.168430] sd 5:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[253522.734995] sdb: sdb1
[253522.739215] sd 5:0:0:0: [sdb] Attached SCSI removable disk
[253524.358674] usb 1-1: new high-speed USB device number 4 using ehci-pci
[253524.477110] usb 1-1: New USB device found, idVendor=0bc2, idProduct=3322
[253524.477115] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[253524.477118] usb 1-1: Product: Expansion Desk
[253524.477120] usb 1-1: Manufacturer: Seagate
[253524.477123] usb 1-1: SerialNumber: NA8FFMBS
[253524.478383] scsi host6: uas
[253524.479758] scsi 6:0:0:0: Direct-Access Seagate Expansion Desk 9401 PQ: 0 ANSI: 6
[253524.495165] sd 6:0:0:0: Attached scsi generic sg6 type 0
[253524.495729] sd 6:0:0:0: [sde] Spinning up disk...
[253525.496678] .....ready
[253529.501078] sd 6:0:0:0: [sde] 3907029167 512-byte logical blocks: (2.00 TB/1.81 TiB)
[253529.515491] sd 6:0:0:0: [sde] Write Protect is off
[253529.515497] sd 6:0:0:0: [sde] Mode Sense: 4f 00 00 00
[253529.516195] sd 6:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[253529.874676] sde: sde1 sde2
[253529.879953] sd 6:0:0:0: [sde] Attached SCSI disk
[253761.681557] EXT4-fs (sdb1): VFS: Can't find ext4 filesystem
[253761.767143] EXT4-fs (sdb1): VFS: Can't find ext4 filesystem
The wee drive shows up but not the 2Tb one I want to use.
Detected USB-Storage Devices
Action
/dev/sdb Generic Flash Disk NOT READY Initialize
And the other output
df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/clearos-root 283464468 49004424 234460044 18% /
devtmpfs 6050756 0 6050756 0% /dev
tmpfs 6061556 12 6061544 1% /dev/shm
tmpfs 6061556 25416 6036140 1% /run
tmpfs 6061556 0 6061556 0% /sys/fs/cgroup
/dev/sda1 508588 222596 285992 44% /boot
tmpfs 1212312 0 1212312 0% /run/user/994
tmpfs 1212312 0 1212312 0% /run/user/0
lsblk -io KNAME,TYPE,SIZE,MODE
KNAME TYPE SIZE MODE
sda disk 278.9G brw-rw----
sda1 part 500M brw-rw----
sda2 part 278.4G brw-rw----
dm-0 lvm 7.9G brw-rw----
dm-1 lvm 270.5G brw-rw----
sdb disk 3.8G brw-rw----
sdb1 part 3.8G brw-rw----
sde disk 1.8T brw-rw----
sde1 part 128M brw-rw----
sde2 part 1.8T brw-rw----
sr0 rom 1024M brw-rw----
-
Accepted Answer
I don't know the hotplug system now that it auto-mounts. Presumably that is a ClearOS 7 feature? My server is in the attic and I can't run up and down to test.
From the output of dmesg it looks like your flash drive is sdb, but your big drive (2TB Seagate) is being given the designation sde? It can't find an ext4 file sysyem on the flash drive, but can it find anything? sde is not doing anything.
Unfortunately I don't know what to expect. Are you able to boot from a live CD of any distro and see if it can read the disk? -
Accepted Answer
Nick
The lack of ext4 on the wee drive is OK, the GUI says it needs to be initialised so that's all OK
I wish that this server were as close as an attic, I wouldn't mind the stairs, unfortunately I am in Belfast and it's in Paris.
The only thing I can see from the dmesg output is that the Seagate external seems to be appearing as a SCSI drive and not USB. Which is weird as it was working OK earlier in the year. I wonder if there has been a change somewhere in the underlying system that is seeing this disk differently.
I think in the short term I am going to get the Paris office to use a large USB stick so that backups can happen. -
Accepted Answer
-
Accepted Answer
The partitions were visible at that level and after formatting the drive from the command line I can mount the partition.
BMB still doesn't see it, I am now almost certain that is because it is not being seen as a USB removable device.
That said I have it mounted and am going to rSync the important stuff to it.
Not ideal but the best I can do at this moment in time.
Thanks for your assistance
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »