On 6 November 2013 13:43, Neal Murphy <neal.p.mur...@alum.wpi.edu> wrote: > Assuming the problem is /var/log is part of the root filesystem and is crammed > with millions of files. Assume other drive is /dev/sdb. The general process is > as follows. > > 1. Reboot to single-user > 2. Add partition #1 to /dev/sdb > 3. 'mkreiserfs /dev/sdb1' # to avoid the whole issue of inodes > 4. 'mount /dev/sdb1 /mnt' > 5. 'cd /var/log; find . -depth | cpio -pdv /mnt' > 6. 'if [ $? -eq 0 ]; then cd ..; mv log log-; rm -rf log-; fi&' > 7. 'mkdir log; chmod 755 log > 8. 'echo "/dev/sdb1 /var/log reiserfs defaults,notail 0 1" >> /etc/fstab' > 9. 'wait' > 10. 'umount /mnt; init 6' >
Hi Neal, I think I'm going to ask about the easier part: What is "9. wait" for? Thx, Beco. -- Dr Beco A.I. researcher "For the things we have to learn before we can do them, we learn by doing them" (Aristotle) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caluyw2x+vyf-h4i_yxgzdsnc2b7+iuxyeq4zqxdjgy7yyow...@mail.gmail.com