Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: steve288 on January 31, 2008, 10:44:16 PM
-
I have followed the wiki on setting up a usb drive. It worked like a charm. It seems to mount automatically and everything, nice.
I can put stuff on the usb (80 gig ATA Drive) fine. I formated it with vfat. Im not sure of all the differences but Im trying this out. Im hoping that it has some compatibility with windows computers so I can copy things back and forth.
Anyway, I cant seem to unmount it, that is..
I want to be able to take the drive out when the system is up and running so I can swap it back and forth.
So I let the system boot.
Then I connect the drive. It connects up to the /media/usbdisk automatically, great.
Then I type
#umount /media/usbdisk
But get,
Could not find /media/usbdisk in mtab
umount: /media/usbdisk: not mounted
At the bottom I will put my mtab with my usb drive mounted. Im not sure if it will help, but I provide it in case it does.
Then I try
umount /dev/sda
And get the following error
umount: /dev/sda1: not mounted
And even
umount /dev/sda1
umount: /dev/sda1: not mounted
I suppose Im missing something basic. Can anyone provide me with an answer.
----------------------
My mtab file
/dev/mapper/main-root / ext3 rw,usrquota,grpquota 0 0
none /proc proc rw 0 0
none /sys sysfs rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
usbfs /proc/bus/usb usbfs rw 0 0
/dev/md1 /boot ext3 rw 0 0
none /dev/shm tmpfs rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
-
I have followed the wiki on setting up a usb drive. It worked like a charm. It seems to mount automatically and everything, nice.
By the looks of your mtab file, the USB disk isn't mounted, are you sure you created the script correctly to mount the drive upon bootup?
I can put stuff on the usb (80 gig ATA Drive) fine.
Are you quite sure about this. If the USB drive isn't mounted (which is what you mtab file shows) then it will appear that you are copying files to it when in fact you are just copying file somewhere (like media/usbdisk/) on your main drive instead.
I suppose Im missing something basic. Can anyone provide me with an answer.
You need to mount the drive before you can unmount the drive.
-
mmm maybe your right. Im not at work now but pehaps its not mounting at all. thanks I will look into that.
Is it normal however that when I put the drive in that a new folder is created automaticaly /media/usbdrive. Is this created so that it gives your a place to mount it?
Thanks.
-
mmm maybe your right. Im not at work now but pehaps its not mounting at all. thanks I will look into that.
Is it normal however that when I put the drive in that a new folder is created automaticaly /media/usbdrive. Is this created so that it gives your a place to mount it?
Thanks.
This is correct and the default is /media/usbdisk (not /media/usbdrive). Did you change it or mis-type?