01-18-2012
Resizing root virtual disk on the CentOS
Hello,
Can someone suggest me what I missing, I re-sized a root virtual disk to 30GB on the CentOS VM. After re-sizing the disk, I booted the OS and ran fdisk -list command I was able view the size of the disk as 30GB.
Paritions in the vm before I resize are:
/boot - Primary parition
/ and swap are logical volumes filesystem.
but when I ran pvdisplay command I see the same output, but not sure how to scan the additional size that I added to virtual disk and bring it under lvm.
Thanks,
8 More Discussions You Might Find Interesting
1. Solaris
Is it possible to increase the root filesystem size without reboot ?? (4 Replies)
Discussion started by: gowthamakanthan
4 Replies
2. UNIX for Dummies Questions & Answers
Hi. First of all, would 4 or 5 websites, 1 ftp server (when downloading by someone or a few persons or one, concretize) and one mail server (not many emails, just to sound official and have a nice, spam-free email for myself). Websites with not that many, but some, later more visitors, quite... (0 Replies)
Discussion started by: newn
0 Replies
3. Solaris
I'm used to using AIX but a new box running Solaris I need a little help with.
The disk are presented from a SAN, the disk needing to change is presented as 148GBs drive which was allocated to a file system as the same. I need to change that without losing any data. I know I can change the disk... (7 Replies)
Discussion started by: ltlawnman
7 Replies
4. Virtualization and Cloud Computing
Hi,
I have installed VirtualBox, downloaded CentOS 5.5 and created a VirtualMachine where i have installed the 'server' versión of CentOS 5.5
As I installed Virtual Box a new network device appeared '192.16.1.250' in my 'real' machine. I was unable to reach my webserver so i istalled CentOS once... (5 Replies)
Discussion started by: motoko
5 Replies
5. Red Hat
Hi all,
I'm in a pretty messed-up situation, hope you can give me a hand.
I deleted by accident a folder containing a VMware server virtual machine, that contains most critical information. The host OS is CentOS 5.5, which I believe by default uses Ext3.
I shut down the PC intermediately... (2 Replies)
Discussion started by: starriol
2 Replies
6. Solaris
Dear All,
I have a task of resizing the Solaris Partitions.
This server contains SVM. Kindly let me know the steps in resizing the partitions and precautions.
Regards
Rj (3 Replies)
Discussion started by: jegaraman
3 Replies
7. UNIX for Dummies Questions & Answers
Hi guys ,
We are running machines in virtual environment.
As a part of virtual solution we have a disk created in form of files on host machine.
The problem is we are facing space crunch and need to re size the harddisk files of virtual machines.
There a catch the virtual machines are... (0 Replies)
Discussion started by: pinga123
0 Replies
8. Solaris
Hi All
Hope it's okay to post on this sub-forum, couldn't find a better place
I've got a 480R running solaris 8 with veritas volume manager managing all filesystems, including an encapsulated root disk (I believe the root disk is encapsulated as one of the root mirror disks has an entry under... (1 Reply)
Discussion started by: sunnyd76
1 Replies
LEARN ABOUT OSF1
volrootmir
volrootmir(8) System Manager's Manual volrootmir(8)
NAME
volrootmir - Mirror areas necessary for booting to a new disk
SYNOPSIS
/usr/sbin/volrootmir [-a] [nconfig=count] target_disk [swap=target_partition]
OPTIONS
Specifies that all volumes on the system disk be mirrored, not just the root and swap volumes, rootvol and swapvol.
DESCRIPTION
The volrootmir script causes a mirror copy of areas of the root disk involved in booting to be made on the specified target disk.
When used without the -a option, volrootmir adds mirrors of the root and swap volumes and allocates them on the new disk. In addition, all
disk regions required for booting are set up and partitions for the new volume mirrors are created.
When used with the -a option, volrootmir mirrors all in-use partitions on the system disk.
To mirror a swap volume that is on a separate disk from the root volume, the swap attribute must be used to specify a separate target for
the swap mirror.
The target disk(s) must be at least as large as the sum of the sizes of rootvol and swapvol. Also, the physical disk should not have any
disk partition in use.
This script can be called from the voldiskadm menus by choosing the Mirror volumes on a disk operation.
ATTRIBUTES
Specifies the number of log copies and copies of the configuration database, for example, nconfig=2. Specifies that the swap volume,
swapvol, be mirrored on a separate disk, as specified by target_partition.
EXAMPLES
The following command mirrors the rootvol and swapvol volumes onto the target disk, dsk3. This command will fail if swapvol is on a differ-
ent disk from rootvol.
# volrootmir dsk3 The following command mirrors rootvol, swapvol, and any other volumes on the root disk onto the target disk, dsk3.
This command will fail if swapvol is on a different disk from rootvol.
# volrootmir -a dsk3 The following command mirrors rootvol on disk dsk3, swapvol onto partition dsk7d, and any other volumes on the
root disk onto disk dsk3. This command will fail if swapvol is on the same disk as rootvol.
# volrootmir -a dsk3 swap=dsk7d The following command mirrors rootvol onto disk dsk3 and swapvol onto partition dsk7d. This command
will fail if swapvol is on the same disk as rootvol.
# volrootmir dsk3 swap=dsk7d
SEE ALSO
volintro(8), voldiskadm(8)
volrootmir(8)