[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No space left on device (28) but device is NOT full!



On 6 November 2013 13:43, Neal Murphy <neal.p.murphy@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)


Reply to: