what I must do . I have two HDD. Proxmox install on first HDD, and I want use Second HDD for VM, what I must do ? . I need it for more VM , not for backup.Your fdisk output does not show even the first hdd.
Why I can not do this with UI ?You partition, format & mount the second HDD and add it as a storage type "dir" in UI (in "Datacenter" section, "Storage tab")
Why I can not do this with UI ?
It was better I can do this during installation .
I need advance installation for Proxmox.
Can I install Debian 8 .and after that install some packages . make my Debian like Proxmox.
Thanks ,Hi,
about installing pve on jessie 8 see here: https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Jessie
But I would not recommend this for you! If you struggle with an second hdd, you should realy realy stay with the standard installer!
Because of the second hdd use the cli (read an good linux book - it's pure linux and has nothing to do with pve) and take a look here: https://pve.proxmox.com/wiki/Storage_Model
Udo
Thanks ,
I think I have to boot system with gparted .and partition second HDD and edit fstab.
But I do not why fdisk can not detect second HDD?
pvs
dmesg | grep SCSI
My bios config is correct , during installation , installer can detect my second HDD and I have two HDD , for installation I choose first HDD.Hi,
are your bios-config correct?
How are your disk named?
do an
to see the device from the pve-VG.Code:pvs
How looks the output of
[/code]Code:[CODE]dmesg | grep SCSI
Udo
PV VG Fmt Attr PSize PFree /dev/cciss/c0d0p3 pve lvm2 a-- 68.21g 8.50g
dmesg | grep SCSI
root@aal-prox:~# dmesg | grep SCSI[ 0.228361] SCSI subsystem initialized
[ 0.734568] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 29.273248] Loading iSCSI transport class v2.0-870.
ro
when I run fdsik -lYou still didn't show us the whole fdisk -l output. Your two drives should be there but they are missing.
root@aal-prox:~# fdisk -l
Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mapper/pve-root: 17 GiB, 18253611008 bytes, 35651584 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 /dev/mapper/pve-swap: 4 GiB, 4294967296 bytes, 8388608 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 /dev/mapper/pve-data: 38.7 GiB, 41565552640 bytes, 81182720 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
Hi,My bios config is correct , during installation , installer can detect my second HDD and I have two HDD , for installation I choose first HDD.
when I run pvs command I see
and when I run this commandCode:PV VG Fmt Attr PSize PFree /dev/cciss/c0d0p3 pve lvm2 a-- 68.21g 8.50g
I seeCode:dmesg | grep SCSI
Code:root@aal-prox:~# dmesg | grep SCSI[ 0.228361] SCSI subsystem initialized [ 0.734568] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) [ 29.273248] Loading iSCSI transport class v2.0-870. ro
fdisk /dev/cciss/c0d1
dmesg | grep -i cciss
Stupid fdisk, then.
fdisk -l /dev/cciss/c0d0
fdisk -l /dev/ccis/c0d1 (or use tab completion to find the name of it)
fdisk -l [COLOR=#333333]/dev/cciss/c0d0[/COLOR]
root@aal-prox:~# fdisk -l /dev/cciss/c0d0
Disk /dev/cciss/c0d0: 68.3 GiB, 73372631040 bytes, 143305920 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
Disklabel type: gpt
Disk identifier: 186F7D6A-24B1-4615-96F2-8D5C11D9C808
Device Start End Sectors Size Type
/dev/cciss/c0d0p1 34 2047 2014 1007K BIOS boot
/dev/cciss/c0d0p2 2048 262143 260096 127M EFI System
/dev/cciss/c0d0p3 262144 143305886 143043743 68.2G Linux LVM
fdisk -l /dev/cciss/c0d1
root@aal-prox:~# fdisk -l /dev/cciss/c0d1
Disk /dev/cciss/c0d1: 931.5 GiB, 1000171331584 bytes, 1953459632 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
Disklabel type: dos
Disk identifier: 0x90909090
Device Boot Start End Sectors Size Id Type
/dev/cciss/c0d1p1 * 63 1953455804 1953455742 931.5G a5 FreeBSD
when I run thisHi,
hmmm HP... my experiences with hp are a long time ago.
But normaly it should be
Code:fdisk /dev/cciss/c0d1
and what shows
UdoCode:dmesg | grep -i cciss
[COLOR=#333333]dmesg | grep -i cciss
[/COLOR]root@aal-prox:~# dmesg | grep -i cciss[ 22.752102] cciss 0000:03:00.0: cciss0: <0x3230> at PCI 0000:03:00.0 IRQ 33 using DAC
[ 22.775841] cciss/c0d0: p1 p2 p3
[ 22.781263] cciss/c0d1: p1
[ 22.781768] scsi host4: cciss
ro
mkfs.ext4 /dev/cciss/c0d1p1
/dev/cciss/c0d1p1 /data ext4 defaults 0 0
mkdir /data
mount /data
Thanks, thanks,excellent.
fdisk /dev/cciss/c0d1
t
83
w
...
Code:mkfs.ext4 /dev/cciss/c0d1p1
edit /etc/fstab and add at the end of the file
Code:/dev/cciss/c0d1p1 /data ext4 defaults 0 0
then
Code:mkdir /data
Code:mount /data
In Proxmox UI (I told you above where: Datacenter/Storage) add a new storage type "dir" in folder /data and check whatever you want to hold in it (CT, VM, ISO and so on)
Done.
thanks again , I see new storage.... you have a new storage in UI?
My Boss give another HP server for config and this new HP server has four HDD and I install on First HDD Proxmox and I want partitioning other HDDs,when I run this
I seeCode:[COLOR=#333333]dmesg | grep -i cciss
Code:[/COLOR]root@aal-prox:~# dmesg | grep -i cciss[ 22.752102] cciss 0000:03:00.0: cciss0: <0x3230> at PCI 0000:03:00.0 IRQ 33 using DAC [ 22.775841] cciss/c0d0: p1 p2 p3 [ 22.781263] cciss/c0d1: p1 [ 22.781768] scsi host4: cciss ro
fdisk /dev/cciss/c0d1
t
No partition is defined yet!