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.

Pool Question with added SSD Drive

Featured Replies

I think I know some of the issues when I added a previously used 1TB Samsung_870 drive to my UnRaid server.

Entrees in the picture 9, S6PTNMOT420498V-part2, 1, 13, 321. These are because the drive was not formatted or wiped prior to adding it. I also tried mounting it and it would not.

. . . . I thought I could format it when it was installed.

I removed it, but I noticed when it was inserted it gave its name as Docker2. I take it that is how Pool's work. Each added drive becomes incremented by number from the first device in that pool.

Here is my goal. Add the Samsung 1TB drive and move everything from the Docker drive to it. THEN, shutdown, and remove the smaller OCZ 128GB drive and add my second 1TB used Samsung_870 drive.

I was going to work off of this advice, "stop docker service, stop VM service if it's running. move the data from the docker pool to the cache pool, remove the docker pool and replace that disk with the new disk, move the data back to the docker pool."

So do I need to format / wipe the 1TB Samsung drives first? Is my plan above the best way to go about doing this, or create a new pool?

Unassigned.jpg

Pool.jpg

  • Community Expert

I usualy boot into a live linux distro such as ubuntu mate and run the disk application to select and format a disk before unriad. as that has old data of being a raid memaber adn may have adatial encryption / lvm data on it... Unraid done't have a few pacakges that deb live distro might for afecting disk of that nature.

in web ui, You would need to use terminal commands to selec and formt the disk via termainl within unraid...

To format a disk to btrfs in the Linux terminal, you'll first need to identify the disk using lsblk, then unmount it if necessary, and finally use mkfs.btrfs to format it. Remember to back up any important data before formatting, as this process will erase all data on the disk. 

Here's a quick reference step-by-step guide:

1. Identify the Disk:

  • Use the lsblk command to list all block devices (hard drives, SSDs, partitions, etc.). 

  • Identify the disk you want to format (e.g., /dev/sda, /dev/nvme0n1). Look for the device name and its size to distinguish it from others. 

  • Note: If the disk has existing partitions, you'll need to identify the specific partition you want to format (e.g., /dev/sda1). 

2. Unmount the Disk (if necessary):

  • If the disk or partition is currently mounted, you'll need to unmount it before formatting. Use the sudo umount /dev/sdXn command, replacing /dev/sdXn with the actual device or partition. 

3. Format the Disk to Btrfs:

  • Use the sudo mkfs.btrfs /dev/sdXn command to format the disk or partition to btrfs.

  • Replace /dev/sdXn with the actual device or partition name.

  • The -f flag can be used with mkfs.btrfs to force formatting, even if the device is already in use (but be extremely cautious when using this). 

Example:

Assuming you want to format /dev/sda1 to btrfs: 

  1. lsblk to identify /dev/sda1

  2. sudo umount /dev/sda1 (if it's mounted)

  3. sudo mkfs.btrfs /dev/sda1


So In Unraid open the web terminal... as it will be a nvme ...
REPLACE /dev/nvme0n1 WITH YOUR DEV PATH!!!! THIS IS DESTRUCTIVE!

Step 1: Identify the Disk with lsblk

lsblk -o NAME,SIZE,FSTYPE,TYPE,MOUNTPOINT

-identify the samsung device and its /dev/ path...

Step 2: Wipe the Existing Partition Table

wipefs -a /dev/nvme0n1

sgdisk --zap-all /dev/nvme0n1

Step 3: Create a New GPT Partition Table

parted /dev/nvme0n1 mklabel gpt

parted -a optimal /dev/nvme0n1 mkpart primary btrfs 0% 100%

then double check: lsblk

add to unraid and have unraid format...


terminal example

5. Format as Btrfs

mkfs.btrfs -f -L mypool /dev/nvme0n1p1

  • Author

Thank you, I have it up and working now! Very much appreciated.

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...

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.