1) insert any nvme disk with partitions
2) use unraid UNASSIGNED DEVICES to delete those partitions.
3) format disk with new partition no matter what xfs,btrfs, ntfs no difference.
4) try to mount newly formated disk (you will be unable to finish this).
5) look at logs and you will se this :
Nov 14 07:26:38 Skynet unassigned.devices: Adding partition 'nvme1n1p1'...
Nov 14 07:26:38 Skynet unassigned.devices: Mounting partition 'nvme1n1p1' at mountpoint '/mnt/disks/Windows'...
Nov 14 07:26:38 Skynet unassigned.devices: Mount drive command: /sbin/mount -t 'ntfs' -o rw,noatime,nodiratime,nodev,nosuid,nls=utf8,umask=000 '/dev/nvme1n1p1' '/mnt/disks/Windows'
Nov 14 07:26:38 Skynet ntfs-3g[6819]: Version 2021.8.22 integrated FUSE 27
Nov 14 07:26:38 Skynet ntfs-3g[6819]: Mounted /dev/nvme1n1p1 (Read-Write, label "", NTFS 3.1)
Nov 14 07:26:38 Skynet ntfs-3g[6819]: Cmdline options: rw,noatime,nodiratime,nodev,nosuid,nls=utf8,umask=000
Nov 14 07:26:38 Skynet ntfs-3g[6819]: Mount options: nodiratime,nodev,nosuid,nls=utf8,allow_other,nonempty,noatime,rw,default_permissions,fsname=/dev/nvme1n1p1,blkdev,blksize=4096
Nov 14 07:26:38 Skynet ntfs-3g[6819]: Global ownership and permissions enforced, configuration type 1
Nov 14 07:26:38 Skynet unassigned.devices: Successfully mounted 'nvme1n1p1' on '/mnt/disks/Windows'.
Nov 14 07:26:59 Skynet unassigned.devices: Removing all partitions from disk '/dev/nvme0n1'.
Nov 14 07:27:19 Skynet unassigned.devices: Format device '/dev/nvme0n1'.
Nov 14 07:27:19 Skynet unassigned.devices: Device '/dev/nvme0n1' block size: 500118192.
Nov 14 07:27:19 Skynet unassigned.devices: Clearing partition table of disk '/dev/nvme0n1'.
Nov 14 07:27:19 Skynet unassigned.devices: Clear partition result: 1+0 records in 1+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.0119385 s, 176 MB/s
Nov 14 07:27:21 Skynet unassigned.devices: Reloading disk '/dev/nvme0n1' partition table.
Nov 14 07:27:21 Skynet unassigned.devices: Reload partition table result: /dev/nvme0n1: re-reading partition table
Nov 14 07:27:21 Skynet unassigned.devices: Creating Unraid compatible mbr partition on disk '/dev/nvme0n1'.
Nov 14 07:27:21 Skynet kernel: nvme0n1:
Nov 14 07:27:21 Skynet kernel: nvme0n1: p1
Nov 14 07:27:21 Skynet kernel: nvme0n1: p1
Nov 14 07:27:21 Skynet unassigned.devices: Create mbr partition table result: write mbr signature done
Nov 14 07:27:23 Skynet unassigned.devices: Reloading disk '/dev/nvme0n1' partition table.
Nov 14 07:27:23 Skynet kernel: nvme0n1: p1
Nov 14 07:27:23 Skynet unassigned.devices: Reload partition table result: /dev/nvme0n1: re-reading partition table
Nov 14 07:27:23 Skynet unassigned.devices: Formatting disk '/dev/nvme0n1' with 'xfs' filesystem.
Nov 14 07:27:35 Skynet unassigned.devices: Reloading disk '/dev/nvme0n1' partition table.
Nov 14 07:27:35 Skynet kernel: nvme0n1: p1
Nov 14 07:27:35 Skynet unassigned.devices: Reload partition table result: /dev/nvme0n1: re-reading partition table
Nov 14 07:27:39 Skynet kernel: nvme0n1: p1
Nov 14 07:27:49 Skynet unassigned.devices: Adding partition 'nvme0n1p1'...
Nov 14 07:27:49 Skynet unassigned.devices: Mounting partition 'nvme0n1p1' at mountpoint '/mnt/disks/ESP'...
Nov 14 07:27:49 Skynet unassigned.devices: Mount drive command: /sbin/mount -t 'vfat' -o rw,noatime,nodiratime,nodev,nosuid,iocharset=utf8,umask=000 '/dev/nvme0n1p1' '/mnt/disks/ESP'
Nov 14 07:27:49 Skynet kernel: FAT-fs (nvme0n1p1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
Nov 14 07:27:49 Skynet kernel: FAT-fs (nvme0n1p1): bogus number of FAT structure
Nov 14 07:27:49 Skynet kernel: FAT-fs (nvme0n1p1): Can't find a valid FAT filesystem
Nov 14 07:27:49 Skynet unassigned.devices: Mount of 'nvme0n1p1' failed: 'mount: /mnt/disks/ESP: wrong fs type, bad option, bad superblock on /dev/nvme0n1p1, missing codepage or helper program, or other error. '
Nov 14 07:27:49 Skynet unassigned.devices: Partition 'ESP' cannot be mounted.
6) restart unraid.
7) try to mount again and viola. all is now correct. magicly all bad superblocks and other struff is corrected.
Nov 14 07:42:51 Skynet unassigned.devices: Adding partition 'nvme0n1p1'...
Nov 14 07:42:51 Skynet unassigned.devices: Mounting partition 'nvme0n1p1' at mountpoint '/mnt/disks/S50ANF2N628803'...
Nov 14 07:42:51 Skynet unassigned.devices: Mount drive command: /sbin/mount -t 'xfs' -o rw,noatime,nodiratime,discard '/dev/nvme0n1p1' '/mnt/disks/S50ANF2N628803'
Nov 14 07:42:51 Skynet kernel: XFS (nvme0n1p1): Mounting V5 Filesystem
Nov 14 07:42:51 Skynet kernel: XFS (nvme0n1p1): Ending clean mount
Nov 14 07:42:51 Skynet kernel: xfs filesystem being mounted at /mnt/disks/S50ANF2N628803 supports timestamps until 2038 (0x7fffffff)
Nov 14 07:42:51 Skynet unassigned.devices: Successfully mounted 'nvme0n1p1' on '/mnt/disks/S50ANF2N628803'.
for me there is one thing very strange. the name of filesystem. first unraid remembered the name of deleted partition "ESP" and after restart unraid tried to mount "S50ANF2N628803" partition. maby this is problem i dont know. but simple restart helps.
if there is a problem with partition name than it schould be replicated by
1) unmounting drive
2) changing partition name
3) mounting again and error should apear again.
Recommended Comments
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.