Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sanity check, resizing root
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jserink
Veteran
Veteran


Joined: 30 Jan 2004
Posts: 1023

PostPosted: Tue Sep 01, 2009 8:47 am    Post subject: sanity check, resizing root Reply with quote

Hi All:

Here is my df output:
jerinkturion jserink # df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda8 3911620 411148 3500472 11% /
udev 10240 220 10020 3% /dev
/dev/sda5 46633 13312 30913 31% /boot
/dev/mapper/vg-usr 5779272 4717612 1061660 82% /usr
/dev/mapper/vg-home 10510008 9870140 639868 94% /home
/dev/mapper/vg-opt 1482700 664472 818228 45% /opt
/dev/mapper/vg-var 5783368 195080 5588288 4% /var
/dev/mapper/vg-tmp 536552 33940 502612 7% /tmp
/dev/sda1 8193116 7713140 479976 95% /mnt/WindowsC
/dev/sda6 30701232 29958624 742608 98% /mnt/WindowsD
/dev/sda6 30701232 29958624 742608 98% /home/jserink/mnt/D
/dev/sda7 30701232 17921360 12779872 59% /mnt/WindowsE
/dev/sda13 15351128 9150888 6200240 60% /mnt/WindowsF
/dev/sda13 15351128 9150888 6200240 60% /home/jserink/mnt/F
tmpfs 2030544 0 2030544 0% /dev/shm

As you can see, I'm wasting about 2G of space on my / partition sow I was wondering it its possible to shrink it on the fly without having to run from a bootable CD. its reiserfs but I'm pretty sure reiser has to be unmounted before it can be resized. is it possible to unmount root....course I can't as then I could never mount again as mount is in /bin....

Ok, how can I do this without damaging /?


Cheers,
John
Back to top
View user's profile Send private message
aceFruchtsaft
Guru
Guru


Joined: 16 May 2004
Posts: 438
Location: Vienna, Austria

PostPosted: Tue Sep 01, 2009 4:31 pm    Post subject: Reply with quote

Actually, I'd say it's not worth it. You have a 150 GiB harddrive, so if you get an extra 2 GiB off / you'll have gained about 1.3% more space and risk trashing your root partition in the process.
Just get another harddrive, even decent ones cost hardly nothing nowadays (assuming that this is a desktop PC).

If you really want to go ahead, definitely use a livecd (I recommend RIP Linux) so you can at least run fsck after resizing.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum