June 19, 20233 yr Hi I wonder if anyone can please help me. I upgraded to 6.12.0. I would like to format my Array disks to ZFS. I put Disk 2 of my Array from XFS to ZFS clicked format and it comes up Unmountable: unsupported or no file system. It works perfect if I put it into a Pool of 1 disk. Just will not work on the array I have tried a few different hard drives. kedge2-diagnostics-20230619-1104.zip
June 19, 20233 yr Author root@Kedge2:~# zfs import unrecognized command 'import' usage: zfs command args ... where 'command' is one of the following: version create [-Pnpuv] [-o property=value] ... <filesystem> create [-Pnpsv] [-b blocksize] [-o property=value] ... -V <size> <volume> destroy [-fnpRrv] <filesystem|volume> destroy [-dnpRrv] <filesystem|volume>@<snap>[%<snap>][,...] destroy <filesystem|volume>#<bookmark> snapshot [-r] [-o property=value] ... <filesystem|volume>@<snap> ... rollback [-rRf] <snapshot> clone [-p] [-o property=value] ... <snapshot> <filesystem|volume> promote <clone-filesystem> rename [-f] <filesystem|volume|snapshot> <filesystem|volume|snapshot> rename -p [-f] <filesystem|volume> <filesystem|volume> rename -u [-f] <filesystem> <filesystem> rename -r <snapshot> <snapshot> bookmark <snapshot|bookmark> <newbookmark> program [-jn] [-t <instruction limit>] [-m <memory limit (b)>] <pool> <program file> [lua args...] list [-Hp] [-r|-d max] [-o property[,...]] [-s property]... [-S property]... [-t type[,...]] [filesystem|volume|snapshot] ... set <property=value> ... <filesystem|volume|snapshot> ... get [-rHp] [-d max] [-o "all" | field[,...]] [-t type[,...]] [-s source[,...]] <"all" | property[,...]> [filesystem|volume|snapshot|bookmark] ... inherit [-rS] <property> <filesystem|volume|snapshot> ... upgrade [-v] upgrade [-r] [-V version] <-a | filesystem ...> userspace [-Hinp] [-o field[,...]] [-s field] ... [-S field] ... [-t type[,...]] <filesystem|snapshot|path> groupspace [-Hinp] [-o field[,...]] [-s field] ... [-S field] ... [-t type[,...]] <filesystem|snapshot|path> projectspace [-Hp] [-o field[,...]] [-s field] ... [-S field] ... <filesystem|snapshot|path> project [-d|-r] <directory|file ...> project -c [-0] [-d|-r] [-p id] <directory|file ...> project -C [-k] [-r] <directory ...> project [-p id] [-r] [-s] <directory ...> mount mount [-flvO] [-o opts] <-a | filesystem> unmount [-fu] <-a | filesystem|mountpoint> share [-l] <-a [nfs|smb] | filesystem> unshare <-a [nfs|smb] | filesystem|mountpoint> send [-DnPpRVvLecwhb] [-[i|I] snapshot] <snapshot> send [-DnVvPLecw] [-i snapshot|bookmark] <filesystem|volume|snapshot> send [-DnPpVvLec] [-i bookmark|snapshot] --redact <bookmark> <snapshot> send [-nVvPe] -t <receive_resume_token> send [-PnVv] --saved filesystem receive [-vMnsFhu] [-o <property>=<value>] ... [-x <property>] ... <filesystem|volume|snapshot> receive [-vMnsFhu] [-o <property>=<value>] ... [-x <property>] ... [-d | -e] <filesystem> receive -A <filesystem|volume> allow <filesystem|volume> allow [-ldug] <"everyone"|user|group>[,...] <perm|@setname>[,...] <filesystem|volume> allow [-ld] -e <perm|@setname>[,...] <filesystem|volume> allow -c <perm|@setname>[,...] <filesystem|volume> allow -s @setname <perm|@setname>[,...] <filesystem|volume> unallow [-rldug] <"everyone"|user|group>[,...] [<perm|@setname>[,...]] <filesystem|volume> unallow [-rld] -e [<perm|@setname>[,...]] <filesystem|volume> unallow [-r] -c [<perm|@setname>[,...]] <filesystem|volume> unallow [-r] -s @setname [<perm|@setname>[,...]] <filesystem|volume> hold [-r] <tag> <snapshot> ... holds [-rH] <snapshot> ... release [-r] <tag> <snapshot> ... diff [-FHt] <snapshot> [snapshot|filesystem] load-key [-rn] [-L <keylocation>] <-a | filesystem|volume> unload-key [-r] <-a | filesystem|volume> change-key [-l] [-o keyformat=<value>] [-o keylocation=<value>] [-o pbkdf2iters=<value>] <filesystem|volume> change-key -i [-l] <filesystem|volume> redact <snapshot> <bookmark> <redaction_snapshot> ... wait [-t <activity>] <filesystem> Each dataset is of the form: pool/[dataset/]*dataset[@name] For the property list, run: zfs set|get For the delegated permission list, run: zfs allow|unallow root@Kedge2:~#
June 19, 20233 yr Author Lol no problem thought I was doing it wrong root@Kedge2:~# zpool import pool: disk2 id: 806229581894550300 state: ONLINE action: The pool can be imported using its name or numeric identifier. config: disk2 ONLINE md2p1 ONLINE root@Kedge2:~#
June 19, 20233 yr Community Expert I think I see the problem, for some reason the pool failed to export, with the array stopped type: zpool export disk2 then start array and post new diags.
June 19, 20233 yr Author If I stop the array I get the following. root@Kedge2:~# zpool export disk2 cannot open 'disk2': no such pool root@Kedge2:~#
June 19, 20233 yr Community Expert So disk2 was online with the array started? Post new diags with array started.
June 19, 20233 yr Author Yes online when array is started. Might take me a while to reply, as I need to go to work but thank you very much for all your help so far. I will reply when home attched at latest Diags. kedge2-diagnostics-20230619-1400.zip
June 19, 20233 yr Community Expert I was confusing myself, pool is not imported, and I'm not seeing why it's failing to import at array start, with the array stopped click on disk2 and change the fs from zfs to auto, start array, if the same reboot and try again, if still nothing post new diags after array start.
June 19, 20233 yr Author Did as you said put in Auto came up Unmountable: No device. I then formatted the drive still said Unmountable: No device. After the reboot same message Unmountable: No device. Here is the Diags after boot. kedge2-diagnostics-20230619-2147.zip
June 19, 20233 yr Author Also run Zpool import root@Kedge2:~# zpool import no pools available to import root@Kedge2:~#
June 20, 20233 yr Community Expert Why is disk2 disabled? Though it should still be formattable rebuild the disk first the try to format again.
June 20, 20233 yr Author No idea OK started fresh did a reboot. Then put fs into ZFS same thing Unsuported or no file system. Did a format same thing. Here is response from zpool import. root@Kedge2:~# zpool import pool: disk2 id: 17715939750724334780 state: ONLINE action: The pool can be imported using its name or numeric identifier. config: disk2 ONLINE md2p1 ONLINE Now I set the fs to Auto and it says Unmountable No Device. I did not format the drive ran zpool import. root@Kedge2:~# zpool import pool: disk2 id: 17715939750724334780 state: ONLINE action: The pool can be imported using its name or numeric identifier. config: disk2 ONLINE md2p1 ONLINE Rebooted says same thing Unmountable No Device ran zpool import. root@Kedge2:~# zpool import pool: disk2 id: 17715939750724334780 state: ONLINE action: The pool can be imported using its name or numeric identifier. config: disk2 ONLINE md2p1 ONLINE DIags attached for after the reboot. I think I lost the Disk2 first time becuse I formated after going to Auto. This time I never formated. kedge2-diagnostics-20230620-0926.zip
June 20, 20233 yr Community Expert Solution Rebuild disk2 first to see if the issue is related to the disk being disabled.
June 20, 20233 yr Author You mean a Data-Rebuild that will take about 19 hours approx. I can see it is writing to Disk2.
June 21, 20233 yr Author Finished rebuild shows as disk is onlne green circle. But can not add any files to it still says Unmountable: Unsupported or no file system. Would it be worth trying a New Config ? if I do that and put the drives in the same spots I loose no data on my array or Cache ? My second thought is I have a 2nd Unraid Server that one will ZFS format on the Array with no problem. Could I not format a drive on there then just add it to my current array ?
June 21, 20233 yr Community Expert 40 minutes ago, Ricin said: But can not add any files to it still says Unmountable: Unsupported or no file system. Try to re-format now, if it still fails post new diags.
June 21, 20233 yr Author Re-formateed and it works perfectly now thank you . Thank you so much for your help would have never sorted that by myself lol. Edited June 21, 20233 yr by Ricin
June 21, 20233 yr Community Expert Great, still need to see what the problem was, because it should have formatted the emulated disk as well.
June 21, 20233 yr Community Expert Thanks, I meant I will see if I can reproduce this in a test server to investigate.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.