Was your root file system always that full? If it has been consistently growing, you may want to find out why. I might guess some sort of log file is growing and not being rotated or aged. The package logrotate was created for this purpose.
On Thu, 2004-01-29 at 13:22, Sophia Alikhani wrote: > Hi > Thank you very much for your guidance but my / filesystem's type is > reiserfs not ext2 or ext3 , How to format this type of filesystem . my > /usr filesystem is reiserfs too. The /usr is 2G and / is 2G now / > filesystem is 92% full. > I need to increase / filesystem very soon . > -- regarding > -- Sophia > > > > On Wednesday 28 January 2004 11:35, Alikhani wrote: > >> Hi > >> My / filesystem that is on /dev/dasda is being full and i need to > >> increase it's size . My VM admin says he can asign a new dasd and format > >> it and belong it to my Linux Guest . I want to know how to assign this > >> dasd to my / filesystem that it will be increased to new size . > > > > The easiest way is to move some parts of / to another file system. > > The obvious candidates are /usr, /home/, /opt/ and /var. > > > > E.g. to make /dev/dasdb1 your new /usr, do something like > > > > mke2fs -j /dev/dasdb1 > > mount /dev/dasdb1 /mnt > > cp -al /usr/* /mnt/ > > umount /mnt > > echo /dev/dasdb1 /usr/ ext3 ro 0 0 >> /etc/fstab > > mount --bind /usr /mnt > > mount /usr > > rm -rf /mnt/* > > umount /mnt > > > > For /home, it is even easier when no user except root is logged in: > > > > mke2fs -j /dev/dasdb1 > > mount /dev/dasdb1 /mnt > > mv /home/* /mnt/ > > umount /mnt > > echo /dev/dasdb1 /home/ ext3 defaults 0 0 >> /etc/fstab > > mount /home > > > > Arnd <>< > > > > > ______________________________________ > Inflex - installed on mailserver for domain @itrc.ac.ir > Queries to: admin@ -- Rich Smrcina Sr. Systems Engineer DSG Linux Services Milwaukee, WI rsmrcina at wi.rr.com rsmrcina at dsgroup.com Catch the WAVV! Stay for requirements and the free-for-all. Update your zSeries skills in 4 days for a very reasonable price. WAVV 2004 in Chattanooga, TN April 30-May 4, 2004 For details see http://www.wavv.org
