Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: painkiller on September 05, 2007, 10:31:50 AM
-
i installed a usb harddisk on SME. In tail -f /var/log/messages the usb drive is mounted on usbdisk. When i let affa write to this destination the harddisk of sme is running full.
I won't write to the usb disk its look like its just a normal directoy then a mountpoint.
Someone has a idea how i can fix this?
-
What's the output when you execute the df command? Could you copy the results into your next post?
-
partition table :
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 19457 156288321 83 Linux
Command (m for help):
tail -f /var/log/
Sep 5 19:41:31 server kernel: USB Mass Storage device found at 11
Sep 5 19:41:31 server scsi.agent[23892]: disk at /devices/pci0000:00/0000:00:1f.2/usb1/1-2/1-2:1.0/host8/target8:0:0/8:0:0:0
Sep 5 19:43:04 server kernel: usb 1-2: USB disconnect, address 11
Sep 5 19:43:25 server kernel: usb 1-2: new full speed USB device using address 12
Sep 5 19:43:25 server kernel: scsi9 : SCSI emulation for USB Mass Storage devices
Sep 5 19:43:25 server kernel: Vendor: USB 2.0 Model: Storage Device Rev: 0100
Sep 5 19:43:25 server kernel: Type: Direct-Access ANSI SCSI revision: 02
Sep 5 19:43:25 server kernel: SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
Sep 5 19:43:25 server kernel: sda: assuming drive cache: write through
Sep 5 19:43:25 server kernel: SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
Sep 5 19:43:25 server kernel: sda: assuming drive cache: write through
Sep 5 19:43:25 server kernel: sda: sda1
Sep 5 19:43:25 server kernel: Attached scsi disk sda at scsi9, channel 0, id 0, lun 0
Sep 5 19:43:25 server kernel: USB Mass Storage device found at 12
Sep 5 19:43:25 server scsi.agent[24131]: disk at /devices/pci0000:00/0000:00:1f.2/usb1/1-2/1-2:1.0/host9/target9:0:0/9:0:0:0
df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/main-root
114178680 41040432 67338312 38% /
/dev/md1 101018 9579 86223 10% /boot
none 257528 0 257528 0% /dev/shm
strange, know it won't mount at all
-
Moving this topic to the SME 7.x contribs forum, it is more appropriate there. Thanks!
-
have you tried mounting it manually? i.e. something like
mount /dev/sdb1 /media/usbdisk1
you need to check which dev your usb disk it is, on mine sda1 is my hard disk and sdb1 is my usb disk
-
If i connect the usb disk the log gives me the above answer this must be /dev/sda1 that's also the partition i made. Its has to be somethint else that isn't working.
-
As you can see by the df output, the disk does not mount automatically. Plugging the disk in will result in SME automatically creating the /media/usbdisk directory, but you still have to manually mount the disk.
mount /media/usbdisk
Or, you can use the usb disk contrib and mount it via server-manager.
-
I had a similar 'problem' a while back. To make sure it was mounted a copied a large file to the mounted directory and checked to see if the usb disk's disk access lights flicked on (which they did). The big problem I had was identifying the device name
Can you copy and paste the contents of your /dev/ directory?
On mine I noticed the device files sdb, sdb1, sdb2 which turned out to the files for newly attached usb drive which I mounted by: mount /dev/sdb1 /media/usbdisk1
The following article really helped me out in terms of mounting the usb drive manually, although don't do step 5 (automount) unless you know what you're doing
http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/mblotwijk/HowToGuides/AddExtraHardDisk.htm
-
Thanks Arnie, that did't . How can i get it to automount, sme did't that before itself?
-
Ok, this works i use affa for backup it has an option to automount, this is solved for me....
Thanks for your help
-
Tried this also, but I don't seem to get DAR to make a backup to my USB-harddisk.
The harddisk is mounted to /mnt/BackupHD :
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/mapper/main-root
ext3 39091656 20383968 16721948 55% /
/dev/md1 ext3 101018 48051 47751 51% /boot
none tmpfs 127384 0 127384 0% /dev/shm
/dev/sda1 ext3 480719056 106544 475728672 1% /mnt/BackupHD
I use smeserver-dar2-0.0.1-3dmay.noarch.rpm to make backups, which works fine when backing up to a webshare on a WindowsXP workstation connected to the server.
But when I enter /mnt/BackupHD as target for the backup, DAR doesn't work.
Am I doing something wrong?
-
http://forums.contribs.org/index.php?topic=35466.msg155151;topicseen#msg155151
This dit it for me, in the server manager you can mount it and enable automount the next time you plug your usb in it works again.
good luck
-
Tried that, but it didn't do it for me. I've installed and removed it several times, but I can't get it to mount properly.
But if I do it manually like in
http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/mblotwijk/HowToGuides/AddExtraHardDisk.htm (http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/mblotwijk/HowToGuides/AddExtraHardDisk.htm)
the USB-disk is mounted.
I've also tried to mount the harddisk to /home like in the HowTo,; maybe there's something left which disturbs the mounting point?
I just bought the USB-harddisk to make backups of the server and several WinXP-workstations, do you know a contrib that's better than Dar2?
-
MAybe affa suits you?
-
Maybe, but I thought Affa was only commandline?
I'm no newby, but also not very good with commandline issues. I would like something which apears in the server-manager.