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@