Page 1 of 1

Do volumes unmount during file system check?

Posted: Thu Apr 22, 2021 11:47 pm
by whistlerdan
I recently got the warning message about the file system not being clean. of course, it requested to run the file system check, which I did.

On one volume, this happened quickly and completed.

My other volume, however, was suddenly unmounted. And this caused various error messages to appear because the log storage location was set to the volume that had now vanished.

I thought something was wrong, so I rebooted the NAS and then everything seemed fine.

I contacted support, and they told me that when you run the file system check, the volume must unmount to do the check. But that doesn't make sense to me because one of my volumes did not unmount, and the check was completed on that volume. And also, I swear I have run this test multiple times in the past and never seen this happen before.

I also feel that if the plan was for file system check to unmount your volume, it would explicitly tell you this, right? You are going to lose access to your files for an indeterminate amount of time if this is the case. Support actually told me it could be "up to 48 hours".

I'm just trying to find out what is normal because this will surely come up again at some point.

Re: Do volumes unmount during file system check?

Posted: Fri Apr 23, 2021 12:53 am
by syncthing
a file system check usually happens on an unmounted filesystem

Re: Do volumes unmount during file system check?

Posted: Fri Apr 23, 2021 2:36 am
by jaysona
A volume must be unmounted in order for a file system (e2fsck) check to be performed.

These types of check are usually required when a NAS is not powered down gracefully. Under normal use there should be no need to perform a volume check.

I have been using Linux since 1993, and I have never seen a volume check take more than a few minutes of most systems, and up to an hour on really low power CPU system that had a very large volume.

RAID scrubbing can take several hours to a couple of days to complete, but RAID scrubbing is not a volume check.

Re: Do volumes unmount during file system check?

Posted: Tue May 17, 2022 12:16 pm
by Ramrunner
Did anyone get an answer to this?

Whenever mine does a file check (which is always successful), it also does not remount the volume.

Unfortunately my NAS seems to reset whenever I do a Hybrid Backup Sync to a Microsoft Onedrive, requiring me to do the file check.

After the file check I have to restart to get the volume back.

Obviously there's multiple issues here in the fact the NAS should not reset after a backup (the backup completes). It should also remount the volume after a file check.

Is QTS just THAT buggy?