Koozali.org: home of the SME Server

pbm can't mount usb disk with sme 7.6

Offline globalsi

  • *****
  • 167
  • +0/-0
pbm can't mount usb disk with sme 7.6
« on: October 03, 2012, 12:05:05 PM »
Hi,

I want to do a backup on a usb disk (ext3 - 1To). (I'll migrate this server to a new hardware with sme8)
When i plug the disk, I can't see it.

Here's my log :
dmesg
Code: [Select]
usb 1-1: new high speed USB device using address 2
input: USB HID v1.11 Device [Western Digital My Book] on usb-0000:00:1d.7-1
Initializing USB Mass Storage driver...
scsi2 : SCSI emulation for USB Mass Storage devices
  Vendor: WD        Model: My Book Device    Rev: 104a
  Type:   Enclosure                          ANSI SCSI revision: 02
USB Mass Storage device found at 2
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
Attached scsi generic sg1 at scsi1, channel 0, id 0, lun 0,  type 0
Attached scsi generic sg2 at scsi2, channel 0, id 0, lun 0,  type 13

egrep "(kernel|fstab|scsi).*(usb|USB)" /var/log/messages
Code: [Select]
Oct  3 11:32:32 sme7 kernel: usbcore: registered new driver usbfs
Oct  3 11:32:32 sme7 kernel: usbcore: registered new driver hub
Oct  3 11:32:32 sme7 kernel: usbcore: registered new driver hiddev
Oct  3 11:32:32 sme7 kernel: usbcore: registered new driver usbhid
Oct  3 11:32:32 sme7 kernel: drivers/usb/input/hid-core.c: v2.0:USB HID core driver
Oct  3 11:32:32 sme7 kernel: SLTA SLOT KBC0 MSE0 COM1 AC97 USB1 USB2 USB3 USB4 EUSB
Oct  3 11:32:32 sme7 kernel: ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
Oct  3 11:32:32 sme7 kernel: ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
Oct  3 11:32:32 sme7 kernel: hub 1-0:1.0: USB hub found
Oct  3 11:32:32 sme7 kernel: USB Universal Host Controller Interface driver v2.2
Oct  3 11:32:32 sme7 kernel: uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
Oct  3 11:32:32 sme7 kernel: hub 2-0:1.0: USB hub found
Oct  3 11:32:32 sme7 kernel: uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
Oct  3 11:32:32 sme7 kernel: hub 3-0:1.0: USB hub found
Oct  3 11:32:33 sme7 kernel: usb 1-1: new high speed USB device using address 2
Oct  3 11:32:33 sme7 kernel: input: USB HID v1.11 Device [Western Digital My Book] on usb-0000:00:1d.7-1
Oct  3 11:32:33 sme7 kernel: Initializing USB Mass Storage driver...
Oct  3 11:32:33 sme7 kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Oct  3 11:32:33 sme7 kernel: USB Mass Storage device found at 2
Oct  3 11:32:33 sme7 kernel: usbcore: registered new driver usb-storage
Oct  3 11:32:33 sme7 kernel: USB Mass Storage support registered.
Oct  3 11:32:17 sme7 scsi.agent[2480]: enclosure at /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0/host2/target2:0:0/2:0:0:0

fdisk -l (translated  :-?)
Code: [Select]
Disk / dev / sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors / track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Boot Start End Blocks Priphrique Id System
/ dev/sda1 * 1   13     104391 fd Linux raid autodetect
/ dev/sda2   14 60801 488279610 fd Linux raid autodetect

Disk / dev / sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors / track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Boot Start End Blocks Priphrique Id System
/ dev/sdb1 * 1 13 104384 + fd Linux raid autodetect
Partition 1 does not end on cylinder Frontire.
/ dev/sdb2 13 60801 488279647 fd Linux raid autodetect

Disk / dev/md1: 106 MB, 106823680 bytes
2 heads, 4 sectors / track, 26080 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk / dev/md1 does not contain a valid partition table

Disk / dev/md2: 499.9 GB, 499998195712 bytes
2 heads, 4 sectors / track, 122069872 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk / dev/md2 does not contain a valid partition table

Disc / dev/dm-0: 498.9 GB, 498920849408 bytes
2 heads, 4 sectors / track, 121806848 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disc / dev/dm-0 does not contain a valid partition table

Disk / dev/dm-1: 1073 MB, 1073741824 bytes
2 heads, 4 sectors / track, 262144 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk / dev/dm-1 does not contain a valid partition table

On other server (fedora6), the disk is seen correctly.
I run yum update, reboot but this change nothing.

Any idea about this ?
Thanks
« Last Edit: October 03, 2012, 12:12:38 PM by globalsi »

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: pbm can't mount usb disk with sme 7.6
« Reply #1 on: October 03, 2012, 12:37:23 PM »
please report all the issues in bugzilla, thank you

I would add that you could take a look at Affa (http://wiki.contribs.org/Affa) to migrate your server to the new HW

HTH

Offline globalsi

  • *****
  • 167
  • +0/-0
Re: pbm can't mount usb disk with sme 7.6
« Reply #2 on: October 03, 2012, 02:26:49 PM »
Thanks for your response,

Can i install sme8 with Affa on new server and run the migration from the old sme7.6 server ?
(I've got difficulties to install sme7.6 on the new server)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: pbm can't mount usb disk with sme 7.6
« Reply #3 on: October 03, 2012, 02:30:03 PM »
first of all, file a bug for your issue and report here the reference for the future readers..

install SME8 on the new server, install affa on SME7.6 (the old one) and follow the howto.. I did it many times without any issue (I've got a SME6 migrated to SME7 on a new hw and then migrated to SME8 on new server again.. no problem)

HTH

Offline globalsi

  • *****
  • 167
  • +0/-0
Re: pbm can't mount usb disk with sme 7.6
« Reply #4 on: October 03, 2012, 03:29:59 PM »
Thanks for yours tips.

I'll file a bug next week (actually, i'm very pressed by this migration)

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: pbm can't mount usb disk with sme 7.6
« Reply #5 on: October 03, 2012, 04:18:26 PM »
Do:

modprobe  sd_mod

and see if that makes a difference.

See https://bugzilla.redhat.com/show_bug.cgi?id=174537 for more detail.

Quote
On other server (fedora6), the disk is seen correctly.

Fedora6 has support for newer hardware which is not supported with RHEL4. Use an older tech USB disk enclosure if you can.
 

Offline globalsi

  • *****
  • 167
  • +0/-0
Re: pbm can't mount usb disk with sme 7.6
« Reply #6 on: October 05, 2012, 09:51:23 AM »
Hi,

Being on site yesterday, I just see that the disk is actually a raid-1.
After 10 min of use on my other server, it comes to crashes...
So I think the problem comes from my failed drive. With another usb drive, no worries.

thanks for your tips !