Jump to content

New Drive for Cache will not format


zeyoner

Recommended Posts

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?

Link to comment
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.

Link to comment
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.

Link to comment

Archived

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

×
×
  • Create New...