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.

[SOLVED] Resize a partition of a disk in Unassigned Devices

Featured Replies

Hi there, I know this is kinda Linux question, but I am not sure will it be slightly different since I use those partitions with Unassigned Devices.

Here are my partitions:

image.thumb.png.e0202403cde601debfacd31841f7b21c.png

 

I don't quite remember how did I do this partitioning back then.

sdj is a 2TB hard disk. All paritions are having xfs as the file system.

sdj1 is having size of 1.1TB

sdj2 is having size of 0.9TB

 

Since I have around 530GB free space in sdj2, I would like to shrink sdj2, and expand sdj1.

 

I assume this would take a while as those sectors are needed to be free before reallocating... Would anyone please provide some guidance and commands to do so? Million thanks!

Edited by PzrrL
solved

Solved by Kilrah

  • Author

bump....

  • Community Expert
  • Solution

Would create a VM, pass it the disk and a gparted live iso and do the resizing there.

  • Author

Thanks for the input, is there any possible pure linux command directly from unraid?

  • 3 weeks later...
  • Author

Thanks @Kilrah, it turns out to be the easiest solution for me. I just overthinking a bit and thought I need to install another VM with OS (and actually I don't need). However, since XFS does not support shrinking, I am out of luck :(

Ref for Gparted supported file system, and possible actions: https://en.wikipedia.org/wiki/GParted#Supported_features

 

A note for my future self: Make sure the disk (the whole disks with all volumes) is not mounted in unRAID, I was not able to unmount some of the volumes, and just stop the array, turn off auto mount for the specific unassigned devices, mark it as passthrough, and viola!

 

Create a VM, mount the disk as vdisk by /dev/disk/by-id/ata-somethingsomething (ref: 

), and also mount the gparted live iso

Edited by PzrrL
note to my future self

  • PzrrL changed the title to [SOLVED] Resize a partition of a disk in Unassigned Devices

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.