zeyoner Posted May 5, 2017 Share Posted May 5, 2017 Alright so I've added a SSD to use for cache. I used preclear and erased/clear the drive. After I added it as a cache drive and start the array. I am given the options to format the drive. However it does not format. It'll just stay as uncountable. This is what I'm seeing in the syslog: May 5 16:32:05 Bilbo emhttp: shcmd (531): mkdir -p /mnt/cache May 5 16:32:05 Bilbo emhttp: shcmd (532): set -o pipefail ; mount -t vfat -o noatime,nodiratime /dev/sdk1 /mnt/cache |& logger May 5 16:32:05 Bilbo root: mount: wrong fs type, bad option, bad superblock on /dev/sdk1, May 5 16:32:05 Bilbo root: missing codepage or helper program, or other error May 5 16:32:05 Bilbo root: May 5 16:32:05 Bilbo root: In some cases useful info is found in syslog - try May 5 16:32:05 Bilbo root: dmesg | tail or so. May 5 16:32:05 Bilbo kernel: FAT-fs (sdk1): bogus number of reserved sectors May 5 16:32:05 Bilbo kernel: FAT-fs (sdk1): Can't find a valid FAT filesystem May 5 16:32:05 Bilbo emhttp: err: shcmd: shcmd (532): exit status: 32 May 5 16:32:05 Bilbo emhttp: mount error: No file system (32) May 5 16:32:05 Bilbo emhttp: shcmd (533): umount /mnt/cache |& logger May 5 16:32:05 Bilbo root: umount: /mnt/cache: not mounted May 5 16:32:05 Bilbo emhttp: shcmd (534): rmdir /mnt/cache Any ideas? Quote Link to comment
Frank1940 Posted May 5, 2017 Share Posted May 5, 2017 Post up the diagnostics file with your next post. 'Tools' >>> 'Diagnostics' Quote Link to comment
zeyoner Posted May 5, 2017 Author Share Posted May 5, 2017 Here it is.. bilbo-diagnostics-20170505-1916.zip Quote Link to comment
JorgeB Posted May 6, 2017 Share Posted May 6, 2017 Not sure how cache filesystem ended up as fat, probably a bug somewhere, click on the cache device on the main page, select the filesystem you want (xfs or btrfs), start array and format cache. Quote Link to comment
zeyoner Posted May 6, 2017 Author Share Posted May 6, 2017 Weird thing is I tired formatting the SSD to xfs and add it to the cache. I experienced the same issue. I'll try formatting it to btrfs. Quote Link to comment
JorgeB Posted May 6, 2017 Share Posted May 6, 2017 If changing the filesystem to a supported one doesn't work post new diags after trying that. 1 Quote Link to comment
trurl Posted May 6, 2017 Share Posted May 6, 2017 22 minutes ago, zeyoner said: Weird thing is I tired formatting the SSD to xfs and add it to the cache. I experienced the same issue. I'll try formatting it to btrfs. How did you format it before adding it to cache? You must add it to cache and let unRAID format it then. How do you intend to format to btrfs? You must let unRAID do the format by setting the disk's filesystem in the webUI. Quote Link to comment
zeyoner Posted May 6, 2017 Author Share Posted May 6, 2017 I use a plug-in called preclear. It'll erase, clear, format, and verify the disk. At first I had cleared the disk using preclear then when I attempted to add it as cache is where the issue began. Quote Link to comment
zeyoner Posted May 6, 2017 Author Share Posted May 6, 2017 Alright I got it working. I used preclear disk to clear the drive then used it to format the SSD to filesystem btrfs. Added to cache and start the array. It works. Thanks guys! Quote Link to comment
trurl Posted May 7, 2017 Share Posted May 7, 2017 On 5/6/2017 at 4:48 PM, zeyoner said: I use a plug-in called preclear. It'll erase, clear, format, and verify the disk. At first I had cleared the disk using preclear then when I attempted to add it as cache is where the issue began. I don't think preclear plugin will format a disk, unless that functionality was recently added, and I very much doubt it. There is no reason for it to do so, it would defeat the purpose of clearing a disk, and it would confuse many users. As for erasing, there is not really a good definition of "erase" that is different than "clear". It does verify that it is able to write zeros to the entire disk (clear) by reading them back. Quote Link to comment
zeyoner Posted May 8, 2017 Author Share Posted May 8, 2017 (edited) Trurl, You're correct it's not preclear. I believe it's Unassigned Devices that allows me to format the drive. Edited May 8, 2017 by zeyoner Quote Link to comment
Recommended Posts
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.