Just started tinkering with proxmox to set up a home virtualization server. Im having problems adding another disk to my pve for ISO's and other contents.
Proxmox recognizes the drive (/dev/sdb) when I do 'fdisk -l' and shows one partition(/dev/sdb1). I created a directory using 'mkdir /main_storage' and tried to mount it to fstab for auto mounting using 'echo "UUID=54ba6fe2-20bb-4f3d-a361-269730d45928 /main_storage ext4 errors=remount-ro 0 1" >> /etc/fstab'. I then rebooted and now im here. When I try to create a directory or zfs it says 'No disks unused'. Why is this? I should also mention since then I've tried to reformat the disk and try to recreate a partition but that attempt failed.
Here is the output of some commands:
'fdisk -l'
Disk /dev/sda: 149.1 GiB, 160041885696 bytes, 312581808 sectors
Disk model: INTEL SSDSC2BB16
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: 0B410514-518F-4174-B99F-A2D7CB3FFFA7
Device Start End Sectors Size Type
/dev/sda1 34 2047 2014 1007K BIOS boot
/dev/sda2 2048 1050623 1048576 512M EFI System
/dev/sda3 1050624 312581774 311531151 148.6G Linux LVM
Disk /dev/sdb: 149.1 GiB, 160041885696 bytes, 312581808 sectors
Disk model: INTEL SSDSC2BB16
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: 0x03cd82ea
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 312580095 312578048 149.1G 83 Linux
Disk /dev/mapper/pve-swap: 8 GiB, 8589934592 bytes, 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 /dev/mapper/pve-root: 37 GiB, 39728447488 bytes, 77594624 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
'cat /etc/fstab'
/dev/pve/root / ext4 errors=remount-ro 0 1
/dev/pve/swap none swap sw 0 0
proc /proc proc defaults 0 0
UUID=54ba6fe2-20bb-4f3d-a361-269730d45928 /main_storage ext4 errors=remount-ro 0 1
'lsblk'
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 149.1G 0 disk
├─sda1 8:1 0 1007K 0 part
├─sda2 8:2 0 512M 0 part
└─sda3 8:3 0 148.6G 0 part
├─pve-swap 253:0 0 8G 0 lvm [SWAP]
├─pve-root 253:1 0 37G 0 lvm /
├─pve-data_tmeta 253:2 0 1G 0 lvm
│ └─pve-data 253:4 0 85.6G 0 lvm
└─pve-data_tdata 253:3 0 85.6G 0 lvm
└─pve-data 253:4 0 85.6G 0 lvm
sdb 8:16 0 149.1G 0 disk
└─sdb1 8:17 0 149.1G 0 part
sr0 11:0 1 1024M 0 rom
Any info on what im doing wrong would be greatly appreciated!
Proxmox recognizes the drive (/dev/sdb) when I do 'fdisk -l' and shows one partition(/dev/sdb1). I created a directory using 'mkdir /main_storage' and tried to mount it to fstab for auto mounting using 'echo "UUID=54ba6fe2-20bb-4f3d-a361-269730d45928 /main_storage ext4 errors=remount-ro 0 1" >> /etc/fstab'. I then rebooted and now im here. When I try to create a directory or zfs it says 'No disks unused'. Why is this? I should also mention since then I've tried to reformat the disk and try to recreate a partition but that attempt failed.
Here is the output of some commands:
'fdisk -l'
Disk /dev/sda: 149.1 GiB, 160041885696 bytes, 312581808 sectors
Disk model: INTEL SSDSC2BB16
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: 0B410514-518F-4174-B99F-A2D7CB3FFFA7
Device Start End Sectors Size Type
/dev/sda1 34 2047 2014 1007K BIOS boot
/dev/sda2 2048 1050623 1048576 512M EFI System
/dev/sda3 1050624 312581774 311531151 148.6G Linux LVM
Disk /dev/sdb: 149.1 GiB, 160041885696 bytes, 312581808 sectors
Disk model: INTEL SSDSC2BB16
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: 0x03cd82ea
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 312580095 312578048 149.1G 83 Linux
Disk /dev/mapper/pve-swap: 8 GiB, 8589934592 bytes, 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 /dev/mapper/pve-root: 37 GiB, 39728447488 bytes, 77594624 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
'cat /etc/fstab'
/dev/pve/root / ext4 errors=remount-ro 0 1
/dev/pve/swap none swap sw 0 0
proc /proc proc defaults 0 0
UUID=54ba6fe2-20bb-4f3d-a361-269730d45928 /main_storage ext4 errors=remount-ro 0 1
'lsblk'
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 149.1G 0 disk
├─sda1 8:1 0 1007K 0 part
├─sda2 8:2 0 512M 0 part
└─sda3 8:3 0 148.6G 0 part
├─pve-swap 253:0 0 8G 0 lvm [SWAP]
├─pve-root 253:1 0 37G 0 lvm /
├─pve-data_tmeta 253:2 0 1G 0 lvm
│ └─pve-data 253:4 0 85.6G 0 lvm
└─pve-data_tdata 253:3 0 85.6G 0 lvm
└─pve-data 253:4 0 85.6G 0 lvm
sdb 8:16 0 149.1G 0 disk
└─sdb1 8:17 0 149.1G 0 part
sr0 11:0 1 1024M 0 rom
Any info on what im doing wrong would be greatly appreciated!
Last edited: