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.

New Drive for Cache will not format

Featured Replies

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?

  • Community Expert

Post up the diagnostics file with your next post.        'Tools'      >>>    'Diagnostics'

  • Community Expert

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.

  • Author

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.

  • Community Expert

If changing the filesystem to a supported one doesn't work post new diags after trying that.

  • Community Expert
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.

  • Author

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. 

  • Author

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!

  • Community Expert
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.

  • Author

Trurl,

 

You're correct it's not preclear. I believe it's Unassigned Devices that allows me to format the drive.

Edited by zeyoner

Archived

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

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.