Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Formatting partition of NVMe drive

Featured Replies

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.

  • Community Expert

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.

  • Author
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...?

  • Community Expert

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

  • 3 months later...
  • Author
On 7/16/2019 at 5:57 PM, itimpi said:

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

No. I'm not sure about what command I could use to create that...

On 7/16/2019 at 3:30 PM, JQNE said:

mkfs.xfs nvme0n1p3

won't work. It would need to be replaced with

mkfs.xfs /dev/nvme0n1p3

 

  • Author

Before I try that. Is It possible to increase my win10 partition on nvme drive? I've tried to look some instructions but came up really short.

Is it a vdisk? You can increase the size of a vdisk simply by stopping the VM and increasing the allocation to the vdisk in the template editor. You'll need to use the Storage Manager in Windows to make use of the newly available space.

 

Or are you talking about adjusting the boundaries of the three partitions in the original post? That will need a partition editor and it's a dangerous process as it's very easy to lose data or make a bootable partition unbootable. The safest approach is to backup the contents of all active partitions, repartition from scratch and then restore the contents. Even that approach isn't foolproof.

  • Author
12 hours ago, John_M said:

Is it a vdisk? You can increase the size of a vdisk simply by stopping the VM and increasing the allocation to the vdisk in the template editor. You'll need to use the Storage Manager in Windows to make use of the newly available space.

 

Or are you talking about adjusting the boundaries of the three partitions in the original post? That will need a partition editor and it's a dangerous process as it's very easy to lose data or make a bootable partition unbootable. The safest approach is to backup the contents of all active partitions, repartition from scratch and then restore the contents. Even that approach isn't foolproof.

I understood it is not vdisk. It uses clover to boot from nvme, but isn't booting from nvme now supported by Unraid?

 

So when I boot that wm, nvme drive dissapears from unassigned device list. I think it's like passed throuhg to vm.

 

So I will start by copying my wm image to array and start tinkering about nvme...

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.