<p><br />
Did you upgrade your system, especially zfs?</p>
<p>You should reboot your server after such an upgrade, because the kernel module and userland part cannot work together.</p>
<p> </p>
<p>----------------eredeti üzenet----------------- <br />
Feladó: "lyt_yudi" <lyt_yudi@icloud.com> <br />
Címzett: "Pongrจขcz Istvจขn" <pongracz.istvan@gmail.com> <br />
CC: "proxmoxve" <pve-user@pve.proxmox.com> <br />
Dátum: Tue, 28 Jul 2015 14:33:33 +0800 <br />
----------------------------------------------------------</p>
<blockquote type="cite"><br />
<div>so, thanks you reply.</div>
<div> </div>
<div>
<div><blockquote type="cite">
<div>在 2015年7月28日,下午2:10,Pongrácz István <<a href="mailto:pongracz.istvan@gmail.com">pongracz.istvan@gmail.com</a>> 写道:</div>
<br />
<div><span class="c1">Anyway, are you sure these drives are not part of existing pool?</span><br />
<span class="c1">Please check it before you destroy the previous possible pool.</span></div>
</blockquote></div>
no. no pool before.</div>
<div> </div>
<div><blockquote type="cite">
<div>在 2015年7月28日,下午2:02,Pongrácz István <<a href="mailto:pongracz.istvan@gmail.com">pongracz.istvan@gmail.com</a>> 写道:</div>
<br />
<div><span class="c1">When you create a new pool, /dev/sdb is not really a valid device.</span><br />
<br />
<span class="c1">Try to create a pool using their id, like this:</span><br />
<br />
<br />
<span class="c1">zpool create -f -o ashift=12 tank mirror ata-Hitachi_HTS545050A7E380_TEJ52139CA9VNS ata-Hitachi_HTS545050A7E380_TEJ52139CAVXNS mirror ata-Hitachi_HTS545050A7E380_TEJ52139CBYP0S ata-WDC_WD5000BEVT-00A0RT0_WD-WXN1AB0X5490</span><br />
<br />
<span class="c1">You can use ids from here: ls /dev/disk/by-id/</span></div>
</blockquote> </div>
<div>this is the new device. and new installed pve.</div>
<div> </div>
<div>now, have same error:</div>
<div> </div>
<div>
<div>root@test01:~# ls -l /dev/disk/by-id/</div>
<div>total 0</div>
<div>lrwxrwxrwx 1 root root 10 Jul 28 14:19 dm-name-pve-data -> ../../dm-2</div>
<div>lrwxrwxrwx 1 root root 10 Jul 28 14:19 dm-name-pve-root -> ../../dm-0</div>
<div>lrwxrwxrwx 1 root root 10 Jul 28 14:19 dm-name-pve-swap -> ../../dm-1</div>
<div>lrwxrwxrwx 1 root root 10 Jul 28 14:19 dm-uuid-LVM-aPi3sFbYQvfr6pfqSnlFw09WyB59R5Fs9N1R7uLnuXXbra9t5Z8C2O2KRwfYjv9g -> ../../dm-0</div>
<div>lrwxrwxrwx 1 root root 10 Jul 28 14:19 dm-uuid-LVM-aPi3sFbYQvfr6pfqSnlFw09WyB59R5FslCcuYnHf81IC4bVJSn6JS5ncZrJe01Ed -> ../../dm-2</div>
<div>lrwxrwxrwx 1 root root 10 Jul 28 14:19 dm-uuid-LVM-aPi3sFbYQvfr6pfqSnlFw09WyB59R5FswBYsrv7Dv92ras6Qejla7nqN2QNVwWSU -> ../../dm-1</div>
<div>lrwxrwxrwx 1 root root 9 Jul 28 14:19 scsi-36d4ae5209bc954001d49980e0a03a9af -> ../../sda</div>
<div>lrwxrwxrwx 1 root root 10 Jul 28 14:19 scsi-36d4ae5209bc954001d49980e0a03a9af-part1 -> ../../sda1</div>
<div>lrwxrwxrwx 1 root root 10 Jul 28 14:19 scsi-36d4ae5209bc954001d49980e0a03a9af-part2 -> ../../sda2</div>
<div>lrwxrwxrwx 1 root root 10 Jul 28 14:19 scsi-36d4ae5209bc954001d49980e0a03a9af-part3 -> ../../sda3</div>
<div>lrwxrwxrwx 1 root root 9 Jul 28 14:19 scsi-36d4ae5209bc954001d49982a0bb99e94 -> ../../sdb</div>
<div>lrwxrwxrwx 1 root root 9 Jul 28 14:19 scsi-36d4ae5209bc954001d4998410d19abe2 -> ../../sdc</div>
<div>lrwxrwxrwx 1 root root 9 Jul 28 14:19 scsi-36d4ae5209bc954001d4998670f5dc028 -> ../../sdd</div>
<div>lrwxrwxrwx 1 root root 9 Jul 28 14:19 scsi-36d4ae5209bc954001d49987f10c71ca8 -> ../../sde</div>
<div>lrwxrwxrwx 1 root root 9 Jul 28 14:19 scsi-36d4ae5209bc954001d49989311f53449 -> ../../sdf</div>
<div>lrwxrwxrwx 1 root root 9 Jul 28 14:19 scsi-36d4ae5209bc954001d4998af13a574b6 -> ../../sdg</div>
<div>lrwxrwxrwx 1 root root 9 Jul 28 14:19 scsi-36d4ae5209bc954001d4998c414e00719 -> ../../sdh</div>
<div>lrwxrwxrwx 1 root root 9 Jul 28 14:19 scsi-36d4ae5209bc954001d4998d816111615 -> ../../sdi</div>
<div>lrwxrwxrwx 1 root root 9 Jul 28 14:19 scsi-36d4ae5209bc954001d4998ea172230cb -> ../../sdj</div>
<div>lrwxrwxrwx 1 root root 9 Jul 28 14:19 scsi-36d4ae5209bc954001d4998fd18429cc6 -> ../../sdk</div>
<div>lrwxrwxrwx 1 root root 9 Jul 28 14:19 scsi-36d4ae5209bc954001d499910196ef02f -> ../../sdl</div>
<div>lrwxrwxrwx 1 root root 9 Jul 28 14:19 wwn-0x6d4ae5209bc954001d49980e0a03a9af -> ../../sda</div>
<div>lrwxrwxrwx 1 root root 10 Jul 28 14:19 wwn-0x6d4ae5209bc954001d49980e0a03a9af-part1 -> ../../sda1</div>
<div>lrwxrwxrwx 1 root root 10 Jul 28 14:19 wwn-0x6d4ae5209bc954001d49980e0a03a9af-part2 -> ../../sda2</div>
<div>lrwxrwxrwx 1 root root 10 Jul 28 14:19 wwn-0x6d4ae5209bc954001d49980e0a03a9af-part3 -> ../../sda3</div>
<div>lrwxrwxrwx 1 root root 9 Jul 28 14:19 wwn-0x6d4ae5209bc954001d49982a0bb99e94 -> ../../sdb</div>
<div>lrwxrwxrwx 1 root root 9 Jul 28 14:19 wwn-0x6d4ae5209bc954001d4998410d19abe2 -> ../../sdc</div>
<div>lrwxrwxrwx 1 root root 9 Jul 28 14:19 wwn-0x6d4ae5209bc954001d4998670f5dc028 -> ../../sdd</div>
<div>lrwxrwxrwx 1 root root 9 Jul 28 14:19 wwn-0x6d4ae5209bc954001d49987f10c71ca8 -> ../../sde</div>
<div>lrwxrwxrwx 1 root root 9 Jul 28 14:19 wwn-0x6d4ae5209bc954001d49989311f53449 -> ../../sdf</div>
<div>lrwxrwxrwx 1 root root 9 Jul 28 14:19 wwn-0x6d4ae5209bc954001d4998af13a574b6 -> ../../sdg</div>
<div>lrwxrwxrwx 1 root root 9 Jul 28 14:19 wwn-0x6d4ae5209bc954001d4998c414e00719 -> ../../sdh</div>
<div>lrwxrwxrwx 1 root root 9 Jul 28 14:19 wwn-0x6d4ae5209bc954001d4998d816111615 -> ../../sdi</div>
<div>lrwxrwxrwx 1 root root 9 Jul 28 14:19 wwn-0x6d4ae5209bc954001d4998ea172230cb -> ../../sdj</div>
<div>lrwxrwxrwx 1 root root 9 Jul 28 14:19 wwn-0x6d4ae5209bc954001d4998fd18429cc6 -> ../../sdk</div>
<div>lrwxrwxrwx 1 root root 9 Jul 28 14:19 wwn-0x6d4ae5209bc954001d499910196ef02f -> ../../sdl</div>
<div>root@test01:~# zpool create -f -o ashift=12 tank mirror scsi-36d4ae5209bc954001d49982a0bb99e94 scsi-36d4ae5209bc954001d4998410d19abe2 mirror scsi-36d4ae5209bc954001d4998670f5dc028 scsi-36d4ae5209bc954001d49987f10c71ca8</div>
<div>cannot create 'tank01': invalid argument for this pool operation</div>
<div> </div>
<div>root@test01:~# zpool create -f -o ashift=12 tank mirror wwn-0x6d4ae5209bc954001d49982a0bb99e94 wwn-0x6d4ae5209bc954001d4998410d19abe2 mirror wwn-0x6d4ae5209bc954001d4998670f5dc028 wwn-0x6d4ae5209bc954001d49987f10c71ca8</div>
<div>cannot create 'tank01': invalid argument for this pool operation</div>
<div> </div>
<div>root@test01:~# zpool status</div>
<div>no pools available</div>
</div>
<div> </div>
<div><blockquote type="cite"><span class="c1">If you want to use their name, just use this:</span><br />
<br />
<span class="c1">zpool create -f -o ashift=12 tank mirror sdb sdc mirror sdd sde</span><br />
<br />
<span class="c1">The second variant is not recommended, because if your system boots up and you put a new disk, it is easy to mess the pool. Just avoid to use sdX as device, use their ids instead.</span></blockquote> </div>
<div>root@test01:~# zpool create -f -o ashift=12 tank mirror sdb sdc mirror sdd sde </div>
<div>cannot create 'tank': invalid argument for this pool operation</div>
<div> </div>
<div>and the pve system use lvm on sda.</div>
<div>
<div># df -h</div>
<div>Filesystem Size Used Avail Use% Mounted on</div>
<div>udev 10M 0 10M 0% /dev</div>
<div>tmpfs 13G 476K 13G 1% /run</div>
<div>/dev/mapper/pve-root 50G 1.2G 46G 3% /</div>
<div>tmpfs 5.0M 0 5.0M 0% /run/lock</div>
<div>tmpfs 26G 47M 26G 1% /run/shm</div>
<div>/dev/mapper/pve-data 1.8T 33M 1.8T 1% /var/lib/vz</div>
<div>/dev/fuse 30M 112K 30M 1% /etc/pve</div>
</div>
<div> </div>
<div>thanks.</div>
<div> </div>
</blockquote>
<p> </p>