Results 1 to 1 of 1
Hi,
My Linux virtual machine running on XEN and increased 1GB harddisk space.
Current snapshot:
[root@linuxtest01 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 6.8G 2.3G 4.2G ...
- 09-29-2009 #1Just Joined!
- Join Date
- Aug 2006
- Posts
- 25
How to increase the partition size?
Hi,
My Linux virtual machine running on XEN and increased 1GB harddisk space.
Current snapshot:
[root@linuxtest01 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 6.8G 2.3G 4.2G 36% /
/dev/hda5 3.0G 69M 2.7G 3% /tmp
/dev/hda2 6.8G 3.6G 2.9G 55% /var
/dev/hda1 251M 16M 222M 7% /boot
tmpfs 496M 0 496M 0% /dev/shm
[root@linuxtest01 ~]#
Parted command output is showing the added 1GB space:
[root@linuxtest01 ~]# parted
GNU Parted 1.8.1
Using /dev/hda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: QEMU HARDDISK (ide)
Disk /dev/hda: 22.5GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 271MB 271MB primary ext3 boot
2 271MB 7789MB 7518MB primary ext3
3 7789MB 15.3GB 7518MB primary ext3
4 15.3GB 21.5GB 6161MB extended
5 15.3GB 18.5GB 3224MB logical ext3
6 18.5GB 20.7GB 2147MB logical linux-swap
(parted)
How to add the extra 1GB space to / (root) partition (i.e. /dev/hda3)? Please guide me.
Thanks in advance.


Reply With Quote