June 17, 20224 yr My cache disk is 250G SSD. but for some reason, unraid made the filesystem just 500M root@doublenickels:~# sfdisk -l /dev/sdb Disk /dev/sdb: 232.89 GiB, 250059350016 bytes, 488397168 sectors Disk model: Samsung SSD 840 Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000 Device Boot Start End Sectors Size Id Type /dev/sdb1 2048 488397167 488395120 232.9G 83 Linux root@doublenickels:~# df -lh | grep cache /dev/sdb1 500M 385M 56M 88% /mnt/cache I'm not sure if this intentional or if the xfs filesystem on /dev/sdb1 can be grown to the full size of the parition. If so, what is the supported method of doing that?
June 17, 20224 yr Author unraid version: 6.9.2 Model: HP Microserver M/B: Version - s/n: BIOS: HP Version O41. Dated: 07/29/2011 CPU: AMD Turion™ II Neo N54L Dual-Core @ 2200 MHz HVM: Enabled IOMMU: Disabled Cache: 256 KiB, 2 MB, 0 KiB Memory: 8 GiB Other Single-bit ECC (max. installable capacity 8 GiB) Network: bond0: fault-tolerance (active-backup), mtu 1500 eth0: 1000 Mbps, full duplex, mtu 1500 Kernel: Linux 5.10.28-Unraid x86_64 OpenSSL: 1.1.1j Uptime: 47 days, 01:47:17
June 18, 20224 yr Community Expert Did you let unraid format the disk after you assigned it as cache? Or did you use some other method to format?
June 18, 20224 yr Author Yes. Unraid did the formatting on initial deployment. I did not manually format this drive. Wondering if I can just xfs_growfs it and if so should that be done with the array offline. Edited June 18, 20224 yr by Scott Harney
June 18, 20224 yr Community Expert Does the drive have multiple partitions on it from a previous use? If so you should remove them before trying to use the drive with Unraid.
June 18, 20224 yr Author Nope. sfdisk as shown above shows one partition. So I’m not sure why unraid didn’t create the filesystem using the entire partition that spans the entire drive.
June 18, 20224 yr Community Expert 25 minutes ago, Scott Harney said: sfdisk as shown above shows one partition. Maybe that partition already existed and Unraid just tried to use it. I would suggest that you remove that partition and try again. If that has does not work then post your system's diagnostics zip file to see if we can work out what is going on.
June 20, 20224 yr Author I went ahead a resized: root@doublenickels:~# btrfs filesystem resize max /mnt/cache Resize '/mnt/cache' of 'max' root@doublenickels:~# df -lh | grep cache /dev/sdb1 233G 194M 233G 1% /mnt/cache And it seems to be working just fine. Just odd that it only put the FS on the first 500M
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.