Make sure that the M is powed off else you will not be able to make changes.
Below are the screen shots and the CLI commands run:
Click Add.
Select Create a New Virtual Disk à Click Next
Accept
Recommended à Click Next
Allocate the size – I have selected Store virtual disk as a
single file.
Click Next.
Click Finish.
Now go to the command line via putty.
And run the fdisk utility as follows.
[root@rajcentos dev]# fdisk -l
Disk /dev/sda: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks
Id System
/dev/sda1 * 1 13 104391
83 Linux
/dev/sda2
14 1044 8281507+
8e Linux LVM
Disk /dev/sdb: 536 MB, 536870912 bytes
64 heads, 32 sectors/track, 512 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks
Id System
/dev/sdb1
1 512
524272 83 Linux
Disk /dev/sdc: 213 MB, 213909504 bytes
64 heads, 32 sectors/track, 204 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk /dev/sdc doesn't contain a valid partition table
Disk /dev/sdd: 106 MB, 106954752 bytes
64 heads, 32 sectors/track, 102 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk /dev/sdd doesn't contain a valid partition table
[root@rajcentos dev]# fdisk /dev/sdc
Device contains neither a valid DOS partition table, nor
Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory
only,
until you decide to write them. After that, of course, the
previous
content won't be recoverable.
Warning: invalid flag 0x0000 of partition table 4 will be
corrected by w(rite)
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-204, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-204, default
204):
Using default value 204
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
[root@rajcentos dev]# fdisk -l /dev/sdc
Disk /dev/sdc: 213 MB, 213909504 bytes
64 heads, 32 sectors/track, 204 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks
Id System
/dev/sdc1
1 204 208880
83 Linux
[root@rajcentos dev]# mkdir /backupcenter
[root@rajcentos dev]# mount /dev/sdc1 /backupcenter/
[root@rajcentos dev]# df -h
Filesystem
Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
7.3G 1.2G 5.7G
18% /
/dev/sda1
99M 13M 81M
14% /boot
none
125M 0 125M
0% /dev/shm
/dev/sdb1
496M 11M 460M
3% /remotebackup
/dev/sdc1
198M 5.8M 182M
4% /backupcenter
Thats it!
No comments:
Post a Comment