How to reallocate disk space between partitions?
beagle197_at_hotmail.com
Date: 07/29/05
- Next message: Alexander Skwar: "Re: Firefox hot-keys"
- Previous message: Michael Heiming: "Re: Need help, can't kill a process"
- Next in thread: Mark Hobley: "Re: How to reallocate disk space between partitions?"
- Reply: Mark Hobley: "Re: How to reallocate disk space between partitions?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Jul 2005 14:13:12 -0700
Greetings Fellow Linux OS/Debian Mavins,
I allocated 48.2 GB (/dev/hda6) of a 60 GB hd to be mounted under
/home. There should be max 4 GB dedicated to /home, but 50.6 GB mounted
under root, instead of the currently configured 6.4 GB. Is there a way
to reallocate the drive space without reinstalling? Perhaps 'parted'
would do it for me.
What I wanted to do was create a small boot partition in case the boot
failed, but still could recover other data partitions. However, it
seems more useful for me to mount more space under /usr/local/src,
since I'm building and playing around with source code. I will also
need to create some large database apps and not certain which directory
and partition to place them into, but they will grow up to 50 GBs
quickly. I was considering /usr/local again. Any recommendations here?
Thanks,
BEA
frag:/home/bea# uname -a
Linux frag 2.6.8-2-686 #1 Mon Jan 24 03:58:38 EST 2005 i686 GNU/Linux
frag:/home/bea# cat /etc/debian_version
3.1
frag:/home/bea# df -a
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 6728280 2373144 4013356 38% /
proc 0 0 0 - /proc
sysfs 0 0 0 - /sys
devpts 0 0 0 - /dev/pts
tmpfs 75664 0 75664 0% /dev/shm
/dev/hda6 50513396 96616 47850800 1% /home
/dev 6728280 2373144 4013356 38% /.dev
none 5120 708 4412 14% /dev
frag:/home/bea# fdisk /dev/hda
The number of cylinders for this disk is set to 7297.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/hda: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 851 6835626 83 Linux
/dev/hda2 852 7297 51777495 5 Extended
/dev/hda5 852 908 457821 82 Linux swap
/dev/hda6 909 7297 51319611 83 Linux
- Next message: Alexander Skwar: "Re: Firefox hot-keys"
- Previous message: Michael Heiming: "Re: Need help, can't kill a process"
- Next in thread: Mark Hobley: "Re: How to reallocate disk space between partitions?"
- Reply: Mark Hobley: "Re: How to reallocate disk space between partitions?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|