Jump to content
JQNE

Formatting partition of NVMe drive

4 posts in this topic Last Reply

Recommended Posts

Hi!

 

My Unraid version is 6.6.6

 

I've just installed Samsung NVMe ssd to my tower. I've followed SIO's tutorial: https://www.youtube.com/watch?v=RrWOEYldTdk&t=553s&ab_channel=SpaceinvaderOne

 

Windows10 VM is working absolutely fine from NVMe drive. 

 

Problem: How can I format the part3 empty partition to XFS. Just like SIO does on video (time 9:05)? 

I can't find where to format only the drive's part3. Windows is located on part1 and 2.

Unassigned devices destructive mode is set to enabled.

 

Thanks in advance!

 

106661978_Screenshot2019-07-11at16_45_57.thumb.png.85cb9aeb587a22b11f68f9f91075059f.png.

Share this post


Link to post

There is no GUI support for this as far as I know.   It should be easy enough to do it from the command line.   I am reasonably certain the required command will be:

mkfs.xfs nvme0n1p3

although you might want confirmation from someone else to be safe.

Share this post


Link to post
On 7/11/2019 at 6:12 PM, itimpi said:

There is no GUI support for this as far as I know.   It should be easy enough to do it from the command line.   I am reasonably certain the required command will be:


mkfs.xfs nvme0n1p3

although you might want confirmation from someone else to be safe.

When drive is mounted or not mounted I got error like this on SSH connection, so it doesn't work. 

 

root@Unraid:/mnt# mkfs.xfs nvme0n1p3

Error accessing specified device nvme0n1p3: No such file or directory

Usage: mkfs.xfs

/* blocksize */ [-b size=num]

/* metadata */ [-m crc=0|1,finobt=0|1,uuid=xxx,rmapbt=0|1,reflink=0|1]

/* data subvol */ [-d agcount=n,agsize=n,file,name=xxx,size=num,

    (sunit=value,swidth=value|su=num,sw=num|noalign),

    sectsize=num

/* force overwrite */ [-f]

/* inode size */ [-i log=n|perblock=n|size=num,maxpct=n,attr=0|1|2,

    projid32bit=0|1,sparse=0|1]

/* no discard */ [-K]

/* log subvol */ [-l agnum=n,internal,size=num,logdev=xxx,version=n

    sunit=value|su=num,sectsize=num,lazy-count=0|1]

/* label */ [-L label (maximum 12 characters)]

/* naming */ [-n size=num,version=2|ci,ftype=0|1]

/* no-op info only */ [-N]

/* prototype file */ [-p fname]

/* quiet */ [-q]

/* realtime subvol */ [-r extsize=num,size=num,rtdev=xxx]

/* sectorsize */ [-s size=num]

/* version */ [-V]

devicename

<devicename> is required unless -d name=xxx is given.

<num> is xxx (bytes), xxxs (sectors), xxxb (fs blocks), xxxk (xxx KiB),

      xxxm (xxx MiB), xxxg (xxx GiB), xxxt (xxx TiB) or xxxp (xxx PiB).

<value> is xxx (512 byte blocks).

 

 

When NVMe drive is mounted i see on mc two partitions of drive on mnt/disks/ , but third one is not shown. On SIO's video the gui support is there. Why to took it out...?

Share this post


Link to post

Have you actually GOT a partition 3 even created on the disk?   The error message suggests that may not be the case.

Share this post


Link to post

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.