Proxmox Installation in double HD

Ubunter

New Member
Aug 6, 2010
29
0
1
Hello all,
We just order for a new server in remote, and I wanted to setup Proxmox OS there, as I'm newbie...

I installed it and all great as expected, but I found that the server Hardware, which we order for include double HD with 1.5 TB each one...

But in Proxmox CP, and in console, I see only one HD, so I request the provider to verify, and after loading live system, and trying to reinstall proxmos, I see that the installer read the slave drive, but in the live system, we don't see it...

Where's the wrong there, because I don't think that it could be a hardware mistake, the installer find it during the wizard, but after installing the slave aren't there...

Any idea?

Regards,
 
Hello again,

Updating this issue, I was think if it could be a debian issue, so I run:
ls /dev/sd?

And I got: /dev/sda /dev/sdb

what mean, as I understood that the OS are reading both drives.

And to confirm I run fdisk -l /dev/sda, so I got:

Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 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 182401 1464611712 8e Linux LVM

What's mean that the OS are correctly reading and mounting the SDB, the slave drive...

But when I go to Proxmox CP I see only the primary hd, see the screen shoots here:
1. http://dl.dropbox.com/u/2627033/Proxmox/Proxmox Home.png
2. http://dl.dropbox.com/u/2627033/Proxmox/Proxmox storage.png

Thanks in advance...

Regards,
 
Proxmox does not touch the second drive in any way. If you want to use that drive, you need to configure that yourself.

Either by

- creating a new lvm volume group
- or adding it to an existing lvm colume group
- or simply create a filesystem on it an mount the disk
...

Besides, you should use a HD RAID instead of single disks.
 
Thanks dietmar for answering,

Yesterday after all this investigations we decide first to change the drive, so after done, we format, and create the appropriate tables but as a unique volume.
So, now after your recommendation I add a new LVM to system-storage, see the screens-hoot below...

I guest this is the correct now, but dose proxmox are going to administrate this space by itself, I mean, I¡when I'll create a new VE he will ask me where assign it, he'll do it alone, or how it will work?

Sure, the second HD are connected with Raid.

Regards,

The screen-shoot are here: http://dl.dropbox.com/u/2627033/Proxmox/storage lvm.png
 
So, now after your recommendation I add a new LVM to system-storage, see the screens-hoot below...

Why is that storage already 99% full? And why do you mark it 'shared'?

I guest this is the correct now, but dose proxmox are going to administrate this space by itself, I mean, I¡when I'll create a new VE he will ask me where assign it

yes, you can select the storage when you create a VM.
 
Thanks again dietmar,
In dead I don't know why just when I add the new storge, I call it master, just to put a name, and the OS read it as full, I don't know why...

moreover, when I want to create a VE with KVM, I get the option to assign the new VE to the slave storage, but I see it as full, meanwhile it's fully empty, and just formated, create the tables and mount it...

I don't know where's the error...
 
Thanks again dietmar,
In dead I don't know why just when I add the new storge, I call it master, just to put a name, and the OS read it as full, I don't know why...

moreover, when I want to create a VE with KVM, I get the option to assign the new VE to the slave storage, but I see it as full, meanwhile it's fully empty, and just formated, create the tables and mount it...

I don't know where's the error...
Hi,
if you want to use the disk for lvm you don't need to format anything!
The disk is full with your filesystem.

Udo
 
Thanks Udo
o sorry, I formated yesterday, I mean, I format the SDB, the secondary, because we change it, so I give format, and create tables, and then mount it as slave to the primary...because before this process neither proxmox, neither webmin could find the secondary, I think the previous had a hardware error... so we change it, and then give format to slave it...

The issue now, that proxmox read it, but as full, not as empty, meanwhile webmin read it as empty... but the must important is the OS which read it as full, so don't let me to use it...
 
The issue now, that proxmox read it, but as full, not as empty, meanwhile webmin read it as empty... but the must important is the OS which read it as full, so don't let me to use it...

Because the volume group is full - you created a logical volume and put a filesystem on it? Don't do that - all you need is a empty volume group. Or if you really want to use a filesystem, use a 'directory' storage type (not 'LVM').
 
Because the volume group is full - you created a logical volume and put a filesystem on it? Don't do that - all you need is a empty volume group. Or if you really want to use a filesystem, use a 'directory' storage type (not 'LVM').
Thanks dietmar,
But I didn't put any file system there, I attach it to the system after the installation, so, it's empty completely, and I attach it to the system later, and then I create it as LVM after your instruction...
 
Thanks dietmar,
But I didn't put any file system there, I attach it to the system after the installation, so, it's empty completely, and I attach it to the system later, and then I create it as LVM after your instruction...
Hi,
a lvm-disk looks like this:
Code:
# fdisk -l /dev/sdf

Disk /dev/sdf: 142.6 GB, 142621016064 bytes
255 heads, 63 sectors/track, 17339 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x262501d5

   Device Boot      Start         End      Blocks   Id  System
/dev/sdf1               1       17339   139275005+  8e  Linux LVM

# pvdisplay

  --- Physical volume ---
  PV Name               /dev/sdf1
  VG Name               ams200_fc_1_vg
  PV Size               132,82 GB / not usable 2,75 MB
  Allocatable           yes 
  PE Size (KByte)       4096
  Total PE              34002
  Free PE               10309
  Allocated PE          23693
  PV UUID               8oMaMP-osKR-9WOE-dVNY-yeHC-2qjm-QfdNwY 

# vgdisplay ams200_fc_1_vg
  --- Volume group ---
  VG Name               ams200_fc_1_vg
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  659
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                13
  Open LV               4
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               132,82 GB
  PE Size               4,00 MB
  Total PE              34002
  Alloc PE / Size       23693 / 92,55 GB
  Free  PE / Size       10309 / 40,27 GB
  VG UUID               fosNqB-YjAB-8g49-3FXc-nEav-mlUJ-eA91Hc
How looks your disks/partition?

Udo
 
My primary which is sda, is this:
Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 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 182401 1464611712 8e Linux LVM


And the Secondary sdb, is this:
Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdb1 1 182401 1465136001 83 Linux

Regards,
 
Thanks Udo,
After mounting and reboot the system I losed connection with the remote server, and I losed all the day in communication with the provider to find the error, until we decide to change both HD and upload a fresh proxmox installation...

So, just I load the fresh system, I tun fdisk -l, and I get:
Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 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 182401 1464611712 8e Linux LVM

Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0008554b

Device Boot Start End Blocks Id System
/dev/sdb1 1 3134 25171902 fd Linux raid autodetect
/dev/sdb2 3135 3396 2104515 fd Linux raid autodetect
/dev/sdb3 3397 182401 1437857662+ fd Linux raid autodetect

Disk /dev/dm-0: 24.6 GB, 24696061952 bytes
255 heads, 63 sectors/track, 3002 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: 103.0 GB, 103079215104 bytes
255 heads, 63 sectors/track, 12532 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: 1367.6 GB, 1367695425536 bytes
255 heads, 63 sectors/track, 166279 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

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


So, I can't go the the system tool to create an LVM, because I get the same, full storage...

From where should I start, before going to make partitions table, because inside sdb right now I have:

Pri/Log Free Space 2.00*
sdb1 Primary Linux raid autodetect 25776.03*
sdb2 Primary Linux raid autodetect 2155.03
sdb3 Primary Linux raid autodetect 1472366.25


What do you propose?

Thanks in advance...
Regards,
 
After mounting and reboot the system I losed connection with the remote server, and I losed all the day in communication with the provider to find the error, until we decide to change both HD and upload a fresh proxmox installation...

You just need to partition your second disk and create an LVM volume group on it.
 
Hi,
one remark - it's looks for me, that you don't have an raid.
On your server was an software raid over both disks and proxmox used the first disk (partitiontable of sdb shows the raid-entrys).
Proxmox don't support software-raids - but there are some hacks; use the search function of the forum.

For LVM - like Dietmar wrote - install a volumegroup on the disk (i wrote a posting before which commands are used - pvcreate...).

Udo
 
Hi Again,
Sorry for delaying, I didn't got the alert mails, and I was dealing with other issues.
Yah, this server have Raid as Udo just remarked...
I found that somebody just open another thread regarding the same issue here: http://forum.proxmox.com/threads/4538-Proxmox-1.5-3ware-partitions-size...mixed?highlight=raid

So we follow there to avoid duplicate...

Regards,
Hi,
you wrote you have a raid... but if you have a raid with two disks, you see from the os only one drive - the raid-volume. But you see sda and sdb, so i guess you had a software-raid which is really only two seperate disks. So the thread obove (with raidsize bigger than 2GB) don't fit for your configuration.

Udo
 
Hi Udo,
I have 2 HD with 1.5 TB each one, and working with Raid1.
So, I said previously my ls /dev/sd? is this: /dev/sda /dev/sdb

But into Proxmox cPanel I see only the first sda where I installed proxmox, and when I add the second, as we talked previously, Slave as LVM, see the screen-shot attached, I see it completely as full, and now after add it, I can't delete it, I disable it, but can't delete it.
And regarding the Raid, you said it's not compatible, I read this compatibility in Proxmox wiki as recommended to use the raid...
So, I put my system in production, but I still little bit confused with this issues, and sure without adding the second device yet.

Regards,

Pantallazo.png
 

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!