====== Storage ====== ===== Content ===== You have to set the content of a storage to actually use it. Keep in mind, each content type requires a specific sub directory. For example, if you add an NFS storage for ISO files and you don't have a sub folder which is called iso with all the ISO files in it, you won't see any ISO files to mount to your vms. ^Name^Description^Directory^ |images|KVM-Qemu VM images|| |rootdir|Allow to store container data|| |vztmpl|Container templates|| |backup|Backup files (vzdump)|dump| |iso|ISO images|iso| |snippets|Snippet files, for example guest hook scripts|| ==== Troubleshooting ==== === Fix renamed device in ZFS-Pool === FIXME currently, here are only notes root@mfr-vx00:~#GG ll /dev/disk/by-id total 0 lrwxrwxrwx 1 root root 9 Apr 9 17:52 ata-Crucial_CT500MX200SSD1_15240FC7977D -> ../../sdc lrwxrwxrwx 1 root root 10 Apr 9 17:52 ata-Crucial_CT500MX200SSD1_15240FC7977D-part1 -> ../../sdc1 lrwxrwxrwx 1 root root 10 Apr 9 17:52 ata-Crucial_CT500MX200SSD1_15240FC7977D-part9 -> ../../sdc9 lrwxrwxrwx 1 root root 9 Apr 9 17:52 ata-Crucial_CT500MX200SSD1_15240FC7C2C4 -> ../../sdd lrwxrwxrwx 1 root root 10 Apr 9 17:52 ata-Crucial_CT500MX200SSD1_15240FC7C2C4-part1 -> ../../sdd1 lrwxrwxrwx 1 root root 10 Apr 9 17:52 ata-Crucial_CT500MX200SSD1_15240FC7C2C4-part9 -> ../../sdd9 lrwxrwxrwx 1 root root 9 Apr 9 17:52 ata-WDC_WD30EFRX-68AX9N0_WD-WCC1T0658915 -> ../../sda lrwxrwxrwx 1 root root 10 Apr 9 17:52 ata-WDC_WD30EFRX-68AX9N0_WD-WCC1T0658915-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Apr 9 17:52 ata-WDC_WD30EFRX-68AX9N0_WD-WCC1T0658915-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Apr 9 17:52 ata-WDC_WD30EFRX-68AX9N0_WD-WCC1T0658915-part3 -> ../../sda3 lrwxrwxrwx 1 root root 9 Apr 9 17:52 ata-WDC_WD30EFRX-68AX9N0_WD-WCC1T0720722 -> ../../sdb lrwxrwxrwx 1 root root 10 Apr 9 17:52 ata-WDC_WD30EFRX-68AX9N0_WD-WCC1T0720722-part1 -> ../../sdb1 lrwxrwxrwx 1 root root 10 Apr 9 17:52 ata-WDC_WD30EFRX-68AX9N0_WD-WCC1T0720722-part9 -> ../../sdb9 lrwxrwxrwx 1 root root 10 Apr 9 17:52 dm-name-pve-root -> ../../dm-0 lrwxrwxrwx 1 root root 10 Apr 9 17:52 dm-name-pve-swap -> ../../dm-1 lrwxrwxrwx 1 root root 10 Apr 9 17:52 dm-uuid-LVM-ZbGCwg3IB7rq3jivkiTogJ1eOk1uK7WKGQFtVHYf2vhp1W137RxpZWAPtgNEpZ3U -> ../../dm-1 lrwxrwxrwx 1 root root 10 Apr 9 17:52 dm-uuid-LVM-ZbGCwg3IB7rq3jivkiTogJ1eOk1uK7WKnrdeOcVTSDErwNdtIIgPgYIGeAEJW7f9 -> ../../dm-0 lrwxrwxrwx 1 root root 12 Apr 9 17:52 lvm-pv-uuid-6o3Pz3-fevx-fdH5-ledp-D6xy-Un9g-WQiXTf -> ../../zd32p3 lrwxrwxrwx 1 root root 10 Apr 9 17:52 lvm-pv-uuid-kOrCt1-TmmZ-KYKO-ecNV-Aiji-Z3o7-R5IHEk -> ../../sda3 lrwxrwxrwx 1 root root 12 Apr 9 17:52 lvm-pv-uuid-lyYExr-23oz-8M3F-cbni-w3Xe-Q57V-myohSn -> ../../zd48p5 lrwxrwxrwx 1 root root 11 Apr 9 17:52 lvm-pv-uuid-pWNonA-09Mf-lQ6o-X0kX-p2t2-t9Bl-rCtcex -> ../../zd0p2 lrwxrwxrwx 1 root root 9 Apr 9 17:52 wwn-0x50014ee2084de7b1 -> ../../sda lrwxrwxrwx 1 root root 10 Apr 9 17:52 wwn-0x50014ee2084de7b1-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Apr 9 17:52 wwn-0x50014ee2084de7b1-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Apr 9 17:52 wwn-0x50014ee2084de7b1-part3 -> ../../sda3 lrwxrwxrwx 1 root root 9 Apr 9 17:52 wwn-0x50014ee25da8b2e5 -> ../../sdb lrwxrwxrwx 1 root root 10 Apr 9 17:52 wwn-0x50014ee25da8b2e5-part1 -> ../../sdb1 lrwxrwxrwx 1 root root 10 Apr 9 17:52 wwn-0x50014ee25da8b2e5-part9 -> ../../sdb9 lrwxrwxrwx 1 root root 9 Apr 9 17:52 wwn-0x500a07510fc7977d -> ../../sdc lrwxrwxrwx 1 root root 10 Apr 9 17:52 wwn-0x500a07510fc7977d-part1 -> ../../sdc1 lrwxrwxrwx 1 root root 10 Apr 9 17:52 wwn-0x500a07510fc7977d-part9 -> ../../sdc9 lrwxrwxrwx 1 root root 9 Apr 9 17:52 wwn-0x500a07510fc7c2c4 -> ../../sdd lrwxrwxrwx 1 root root 10 Apr 9 17:52 wwn-0x500a07510fc7c2c4-part1 -> ../../sdd1 lrwxrwxrwx 1 root root 10 Apr 9 17:52 wwn-0x500a07510fc7c2c4-part9 -> ../../sdd9 root@mfr-vx00:~# zpool status pool: HDD-Volume state: ONLINE scan: scrub repaired 0B in 0 days 00:00:33 with 0 errors on Sun Apr 12 00:24:35 2020 config: NAME STATE READ WRITE CKSUM HDD-Volume ONLINE 0 0 0 sdb ONLINE 0 0 0 errors: No known data errors pool: SSD-Mirror state: DEGRADED status: One or more devices has been taken offline by the administrator. Sufficient replicas exist for the pool to continue functioning in a degraded state. action: Online the device using 'zpool online' or replace the device with 'zpool replace'. scan: none requested config: NAME STATE READ WRITE CKSUM SSD-Mirror DEGRADED 0 0 0 mirror-0 DEGRADED 0 0 0 7399123897012870771 OFFLINE 0 0 0 was /dev/sde1 sdc ONLINE 0 0 0 errors: No known data errors # vorher sdc + sde ### sde wurde umbenannt zu sdd # nachher sdc + sdd zpool detach SSD-Mirror 7399123897012870771 root@mfr-vx00:~# zpool attach SSD-Mirror sdc /dev/disk/by-id/ata-Crucial_CT500MX200SSD1_15240FC7C2C4 invalid vdev specification use '-f' to override the following errors: /dev/disk/by-id/ata-Crucial_CT500MX200SSD1_15240FC7C2C4-part1 contains a filesystem of type 'VMFS_volume_member' root@mfr-vx00:~# zpool attach SSD-Mirror sdc /dev/disk/by-id/ata-Crucial_CT500MX200SSD1_15240FC7C2C4 invalid vdev specification use '-f' to override the following errors: /dev/disk/by-id/ata-Crucial_CT500MX200SSD1_15240FC7C2C4-part1 contains a filesystem of type 'VMFS_volume_member'