Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: motor2000 on May 14, 2008, 05:16:05 PM
-
I plugged in new USB external HD and SME created local directory with drive's name in /media directory. Now when I fill up new USB drive, system reports that I am out of free space. When i issue a mount command I don't see anything mounted in /media. Does anyone know why SME create local directory instead of mounting it?
Thanks.
-
I think you need to read this: http://wiki.contribs.org/USBDisks
-
First sentence in this guide say: "SME will automatically mount connected USB disk drives into the /media folder". The problem is that SME did not mount USB drive, instead it created a local folder in /media on /dev/hda1.
-
First sentence in this guide say: "SME will automatically mount connected USB disk drives into the /media folder". The problem is that SME did not mount USB drive, instead it created a local folder in /media on /dev/hda1.
It seems it failed some where half-way, do you have a FS in the USB drive that is supported by linux? Does the /var/log/messages hold any clue(s)?
-
I am using ext3. I deleted automatically created folder and remounted USB drive manually. My concern is that SME will try to do the same thing on the next reboot.
-
May 12 17:19:19 fs01 kernel: usb 3-1: new full speed USB device using address 2
May 12 17:19:21 fs01 kernel: input: USB HID v1.11 Device [Western Digital My Book] on usb-0000:02:0e.0-1
May 12 17:19:22 fs01 kernel: Initializing USB Mass Storage driver...
May 12 17:19:22 fs01 kernel: scsi0 : SCSI emulation for USB Mass Storage devices
May 12 17:19:29 fs01 kernel: USB Mass Storage device found at 2
May 12 17:19:29 fs01 kernel: usbcore: registered new driver usb-storage
May 12 17:19:29 fs01 kernel: USB Mass Storage support registered.
May 12 17:19:29 fs01 scsi.agent[4247]: disk at /devices/pci0000:00/0000:00:0b.0/0000:02:0e.0/usb3/3-1/3-1:1.0/host0/target0:0:0/0:0:0:0
-
I just remembered that I disabled ehci_hcd module, because it was causing timeout errors. Not sure if it has anything to do with mounting problem.
-
This is interesting. I'm currently looking after 4 SME Server machines, on a wide range of different hardware. I've not ever seen SME mount a USB disk.
When I plug a USB mass storage device (be it hard drive or flash drive), SME creates a /media/<diskvolume-name> directory. I then mount it manually, and unmount it manually when I've finished with it.
:cool: Never having read the section on USBdisks, I thought this was design behavior. Its worked ok for me, though in one instance, a server box became confused and would not create the necessary directory until I bounced it.
If it really is supposed to automount, I guess I'd better report it as a bug, since it never has for me...
paul.
-
toothandnail, if I understand correctly you don't need to mount /media/<diskvolume-name> again. This is your automatically mounted directory.
-
I guess I'd better report it as a bug, since it never has for me...
It works on my other servers. I think the problem in my case is the old hardware and the fact that I added PCI USB card. I should upgrade the server box.
-
toothandnail, if I understand correctly you don't need to mount /media/<diskvolume-name> again. This is your automatically mounted directory.
Not here - the directory is created, but I have to mount the device under it. If I check the directory without mounting, there is nothing in it...
paul.
-
It works on my other servers. I think the problem in my case is the old hardware and the fact that I added PCI USB card. I should upgrade the server box.
Strange. My test box is quite old (AOpen mb with a PIII 1.2GHz CPU, only USB 1.1), but the other machines are all more modern, including two dual Zeon IBM rackmount servers. No automount on any of them.
paul.
-
The beginning part of http://wiki.contribs.org/USBDisks is misleading. SME (by default) will not "automount" an attached USB drive upon boot or when plugged in. That how-to needs to be corrected to state the SME automatically creates mount points and not that it automatically mounts the drive.
SME (by default) will only *create* the mount point similar to "/media/usbdisk". You can however create custom mount points.
If you want drive to automount you need to look further down the page:
To automount upon boot up - http://wiki.contribs.org/USBDisks#Mount_your_disk_automatically_at_boot-up
To automount upon plugging in - http://wiki.contribs.org/USBDisks#Mount_your_disks_automatically_when_connected