sdb not an option for local storage

VirtualMan

New Member
Jan 25, 2012
15
0
1
I have a server with a single disk in no RAID config for the OS (sda) where Proxmox installed and a RAID array which was detected as one big disk (sdb) during install. However, now I've installed it the web GUI doesn't give me an option to use sdb for disk storage-even though fdisk shows it. This means I have to put everything on the one hard disk which makes tasks like installing an OS slower than wading through molasses. Why is this? What am I missing here?

Code:
Server:~# fdisk -l

Disk /dev/sda: 79.4 GB, 79456894976 bytes
255 heads, 63 sectors/track, 9660 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          66      524288   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              66        9660    77069630   8e  Linux LVM

Disk /dev/sdb: 498.7 GB, 498753077248 bytes
255 heads, 63 sectors/track, 60636 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/sdb doesn't contain a valid partition table

Disk /dev/dm-0: 7516 MB, 7516192768 bytes
255 heads, 63 sectors/track, 913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 19.8 GB, 19864223744 bytes
255 heads, 63 sectors/track, 2415 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/dm-2: 47.2 GB, 47244640256 bytes
255 heads, 63 sectors/track, 5743 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-2 doesn't contain a valid partition table

Disk /dev/dm-3: 498.7 GB, 498748882944 bytes
255 heads, 63 sectors/track, 60636 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-3 doesn't contain a valid partition table
Server:~#
 
I still don't understand why my RAID 10 array has been rendered unusable after using the default options in the Proxmox installer.
it's not proxmox's fault. it takes the disk you assign during the install and put a debian install onto. from there on, up to you. put a filesystem onto your /dev/sdb, add it for future mounts into fstab, and then follow the wiki. like you would do if you would install a vanilla debian and tried to add another harddisk.
 
Last edited:
Hi,
you can also use your sdb for lvm-storage - it's one layer less between VM and harddisk. Create an partition (type 8e, if you use not-gpt) and an volumegroup on this partition.
After that you can assing this VG in the storage-menu of PVE.

Udo
 
it's not proxmox's fault. it takes the disk you assign during the install and put a debian install onto. from there on, up to you. put a filesystem onto your /dev/sdb, add it for future mounts into fstab, and then follow the wiki. like you would do if you would install a vanilla debian and tried to add another harddisk.

you can also use your sdb for lvm-storage - it's one layer less between VM and harddisk. Create an partition (type 8e, if you use not-gpt) and an volumegroup on this partition.
After that you can assing this VG in the storage-menu of PVE.

GT1, udo, I understand that but /dev/sdb was already in a volume group and still is, it also already has a filesystem on it so I don't understand why I can't use it. Will adding an entry in /etc/fstab allow me to be able to use it?
 
I've found that manually mounting the volume with
# mount /dev/VMDATA/VMDATA /mnt/
allows me to work with it but only through the command line. Still don't know what's going on with the partition errors, though.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!