Server Ubuntu 12.04 running within VirtualBox.
I wanted to add some more disk for use by the VM. I'm using this page as guidance.
I created the disk via VirtualBox and booted the VM. I did a `fdisk -l` and it reported that a drive I had been using for months "doesn't contain a valid partition table". It reported the same thing for the new drive which I expected but I thought I had better find out what was going on before I went any further. I've put the output of the `fdisk` below.
Before I did anything I had cloned the VM so I booted the clone and did a `fdisk` in there and sure enough it too reported that the months old partition "doesn't contain a valid partition table".
Is this OK ? Can I continue to partition the new drive ? Should I do something about the old drive ?
The `fdisk` output looks like this :
Code:
~ $ sudo fdisk -l
[sudo] password for foodoo:
Disk /dev/sda: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders, total 16777216 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0004ce84
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 499711 248832 83 Linux
/dev/sda2 501758 16775167 8136705 5 Extended
/dev/sda5 501760 16775167 8136704 8e Linux LVM
Disk /dev/sdb: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders, total 16777216 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/sdb doesn't contain a valid partition table
Disk /dev/mapper/ubserver1-root: 7763 MB, 7763656704 bytes
255 heads, 63 sectors/track, 943 cylinders, total 15163392 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/ubserver1-root doesn't contain a valid partition table
Disk /dev/mapper/ubserver1-swap_1: 532 MB, 532676608 bytes
255 heads, 63 sectors/track, 64 cylinders, total 1040384 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/ubserver1-swap_1 doesn't contain a valid partition table
~ $
Thanks
Bookmarks