Visit Our UNIX and Linux User Community


simlinks


 
Thread Tools Search this Thread
Special Forums Hardware Filesystems, Disks and Memory simlinks
# 1  
Old 11-10-2002
simlinks

i have 2 hard drive on my system, running suse 8. one drive is being used, and the other is a vfat drive with only mp3's on it. i am almost out of room on my first drive, i want to move my /home and /bin to hdb which is pretty much unused, ok anyway, can i just copy /home and /bin to hdb mounted as /windows and have /home and /bin on the main partition hda2 be simlinks pointing to the corresponding directories on /windows (hdb) ? or should i do with fstab? im not really sure how to do it, i have an idea andi have backed up my fstab as fstab.old just incase i mess up, but before i did that i figured id ask here first, here is my fstab file if it is any help :
/dev/hda3 / reiserfs defaults 1 1
/dev/hda1 /boot ext2 defaults 1 2
/dev/hdb1 /windows/C vfat users,gid=users,umask=0002,iocharset=iso8859-1,code=437 0 0
/dev/hda2 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
/dev/cdrecorder /media/cdrecorder auto ro,noauto,user,exec 0 0
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0


thanks for the help.

---
one more thing, if i am going to change my fstab then i would do it like this?
/hdb1 /home vfat defaults *0 0
/hdb2 /bin vfat defaults 0 0
*im not sure what to do with the numbers on the end, imreading man pages now.
# 2  
Old 11-10-2002
Please post the output of this simple command:

Code:
df

We can give a better answer with this information.
# 3  
Old 11-10-2002
> df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda3 5212928 1637808 3575120 32% /
/dev/hda1 15522 5055 9666 35% /boot
/dev/hdb1 13264712 3657056 9607656 28% /windows/C
shmfs 127944 0 127944 0% /dev/shm
# 4  
Old 11-10-2002
hmm after seeing a posting that i have realized i may have a new problem, 35% to 28% used is not bad at all, but i am getting errors that there is no space, here is my warn:

Nov 10 10:10:38 linux postfix/master[896]: warning: process /usr/lib/postfix/qmgr pid 2774 exit status 1
Nov 10 10:10:38 linux postfix/master[896]: warning: /usr/lib/postfix/qmgr: bad command startup -- throttling
Nov 10 10:11:38 linux postfix/qmgr[2775]: fatal: qmgr_active_feed: 44E5B17487: rename from deferred to active: No space left on device
Nov 10 10:11:39 linux syslogd: /var/log/mail: No space left on device

-- also everything would freeze, (im using windowmaker, thisis my desktop) and i uninstalled some stuff but after that df said 97%,. thanks.

Last edited by norsk hedensk; 11-10-2002 at 02:32 PM..

Previous Thread | Next Thread
Test Your Knowledge in Computers #854
Difficulty: Medium
React (also known as React.js or ReactJS) is a JavaScript library maintained by Facebook for building user interfaces.
True or False?

Featured Tech Videos