Need to move /usr to a different partion, any good way ? /Dee -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
"W.D.McKinney" wrote:
Need to move /usr to a different partion, any good way ?
Best way is probably to tar it all up and then untarr it all in its new location, making sure you've got it set to archiving to keep permissions, etc. Hope that helps, Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
"W.D.McKinney" wrote:
Need to move /usr to a different partion, any good way ? /Dee
You may want to read this GREAT article here: http://www-4.ibm.com/software/developer/library/partplan4.html They talk about the moving of partitions that are frequently written to and read from (such as /var & /tmp) and ones that are not accessed that frequently but fill up rather quick (/home & /usr) Very easy to read, good instructions, minimal downtime hth - sasa -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
At 2000-05-09 00:40, you wrote:
Need to move /usr to a different partion, any good way ? /Dee
I tried this, by moving /usr to /newbigdisk/usr and making a symlink /usr -> /newbigdisk/usr (of course in single user mode), but... that did not work because unfortunately, there are lots of "-> ../" type symlinks in user (who expect that ../ is /), and you'll get ldconfig and other sorts of errors. (the suse developers probably used this strategy to have / mounted variously (flop, disk) working). Best is imho to move put /usr on a new partition. If you use LVM (Logical Volume Manager) this is supposedly simpler and easier, but i had some problems with that, too :-/ Good luck! Eric Maryniak -- Eric Maryniak <e.maryniak@pobox.com> Home page: http://pobox.com/~e.maryniak/ University of Amsterdam, Department of Psychology. Tel/Fax: +31 20 5256853/6391656. Internet: http://www.neuromod.org/ You know you've watched too much Star Trek when: You went to San Francisco to see if you might bump into Kirk while he was in the 20th century looking for a whale. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Try: - create the new partition where you'll move /usr and mount it under some dir, eg. /new_usr - drop to single user mode - copy, do not move, /usr to /new_usr, eg. cp -pR /usr/* /new_usr (i think there are no dot-files right under /usr, so the above command should work OK and also preserve permissions.) This will also work (cd /usr && tar cf - . ) | (cd /new_usr && tar xvfp -) - change your /etc/fstab and add an entry to mount your new partition under /usr - move /usr to /usr_old - reboot -- Rafael Herrera Laboratory for Computational Neuroscience University of Pittsburgh http://www.neuronet.pitt.edu/~raffo -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Eric Maryniak wrote:
At 2000-05-09 00:40, you wrote:
Need to move /usr to a different partion, any good way ? /Dee
I tried this, by moving /usr to /newbigdisk/usr and making a symlink /usr -> /newbigdisk/usr (of course in single user mode), but... that did not work because unfortunately, there are lots of "-> ../" type symlinks in user (who expect that ../ is /), and you'll get ldconfig and other sorts of errors. (the suse developers probably used this strategy to have / mounted variously (flop, disk) working).
Hi, I just did it and it still works :) My procedure: 1. mount /dev/hda5 /temp 2. cd /usr 3. tar -cvf /temp/usr.tar 4. cd /temp 5. tar -xvf usr.tar 6. mount /dev/hda5 /usr (in /etc/fstab) Bye, Sander
Best is imho to move put /usr on a new partition. If you use LVM (Logical Volume Manager) this is supposedly simpler and easier, but i had some problems with that, too :-/
Good luck!
Eric Maryniak -- Eric Maryniak <e.maryniak@pobox.com> Home page: http://pobox.com/~e.maryniak/ University of Amsterdam, Department of Psychology. Tel/Fax: +31 20 5256853/6391656. Internet: http://www.neuromod.org/
You know you've watched too much Star Trek when:
You went to San Francisco to see if you might bump into Kirk while he was in the 20th century looking for a whale.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
********************************************************************** Disclaimer This email is confidential and intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of the Azlan Holdings bv and/or subsidiary. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error please notify Azlan Holdings MIS Helpdesk by telephone on +31 (0) 79 3443200. ********************************************************************** -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (6)
-
chris.reeves@iname.com
-
deem@wdm.com
-
e.maryniak@pobox.com
-
raffo@neuronet.pitt.edu
-
sander.van.vugt@azlan.nl
-
saschag@vzinet.com