every reboot - filesystem not clean

Don't miss a thing. Post your questions and discussion about other uncategorized NAS features here.
Post Reply
frustin
Know my way around
Posts: 109
Joined: Mon Oct 05, 2009 1:46 am

every reboot - filesystem not clean

Post by frustin »

Every reboot and my filesystem is not clean. using current 4.3.4 firmware but it's been like this for a while now.

I run filesystem check which fixes it but after a reboot i get the same message again.

Can someone help me to debug this please?
sbarbe13
New here
Posts: 3
Joined: Sun Jul 07, 2019 11:27 pm

Re: every reboot - filesystem not clean

Post by sbarbe13 »

I'm having the same problem on my TS-569 Pro, any help would be appreciated.
This behavior started after a failed firmware upgrade. I opened a case with support and apparently fixed that issue (booted the nas without disks, did a partial setup, reran the fw upgrade which completed successfully, reinstalled the drives and restored the storage config) and the nas ran for about 2 weeks without issue before this cycle started.
I did find one disk with a bad sector on a smart scan of all drives. Replaced that drive, rebuilt the raid and ran the file system check, which came back clean. Rebooted the nas and lost my thin volume metadata.
I did a full reinitialize and setup, created a new storage pool and volume, formatted all drives, and still the following behavior persists:
1. I boot the NAS and it tells me filesystem not clean
2. I run the filesystem check and it comes back to clean, ready and online
3. I reboot the system and it comes back not clean / read only again
running 4.3.4.0899 build 20190322 (latest)
sbarbe13
New here
Posts: 3
Joined: Sun Jul 07, 2019 11:27 pm

Re: every reboot - filesystem not clean

Post by sbarbe13 »

I believe I have resolved this on my nas. I wiped out my storage pool again, removed all drives and restored to factory default.
Then I added HDD1 back and created a raid0 pool. Created a volume on it and mounted it. This worked and I rebooted it. Volume came up clean.
I removed the pool again, added HDD2 to the NAS, and created a RAID1 pool. Rebooted and this one came up filesystem not clean.
Removed the pool again and removed HDD2. Added HDD3 and HDD4 to the NAS and created RAID5 pool. Rebooted filesystem clean.
Removed the pool again and added HDD5 to the NAS. Created RAID6 pool and added volume. Rebooted NAS and filesystem came up clean. Have rebooted it ~6 times and it comes up clean each time.
so it looks like my HDD2 had failed in a stealth manner, since SMART test did not find anything wrong with it.
This is a bit extreme if your environment is production, but I had already lost my data volume and was going to have to restore from backups anyway.
You may be able to test this by just popping out 1 drive at a time (if raid 2,5,6), running the filesystem check without the drive in, then reboot test to see if it comes back clean.
Good luck!
AlastairStevenson
Experience counts
Posts: 2415
Joined: Wed Jan 08, 2014 10:34 pm

Re: every reboot - filesystem not clean

Post by AlastairStevenson »

SMART test did not find anything wrong with it.
That's quite a broad-brush indication, with often an optimistic result.

Much better to make a manual assessment of the SMART detail counts against the various attributes.
That might have indicated some activity that could contribute to changed / corrupted data that could cause a file system inconsistency.
TS-431+ for storage and media and a bunch of IP cams under Surveillance Station. TVS-473 as files backup and QVR Pro.
sbarbe13
New here
Posts: 3
Joined: Sun Jul 07, 2019 11:27 pm

Re: every reboot - filesystem not clean

Post by sbarbe13 »

Quite true. I do need to dive into the logs for my own curiosity.
frustin
Know my way around
Posts: 109
Joined: Mon Oct 05, 2009 1:46 am

Re: every reboot - filesystem not clean

Post by frustin »

sbarbe13 wrote: Tue Jul 23, 2019 5:31 am Quite true. I do need to dive into the logs for my own curiosity.
did you run the complete disk test on each of the disks before you did that rebuild?
frustin
Know my way around
Posts: 109
Joined: Mon Oct 05, 2009 1:46 am

Re: every reboot - filesystem not clean

Post by frustin »

AlastairStevenson wrote: Mon Jul 22, 2019 5:23 pm Much better to make a manual assessment of the SMART detail counts against the various attributes.
That might have indicated some activity that could contribute to changed / corrupted data that could cause a file system inconsistency.
How do you do that exactly please?
User avatar
Toxic17
Ask me anything
Posts: 6469
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: every reboot - filesystem not clean

Post by Toxic17 »

frustin wrote: Wed Sep 11, 2019 7:26 pm
AlastairStevenson wrote: Mon Jul 22, 2019 5:23 pm Much better to make a manual assessment of the SMART detail counts against the various attributes.
That might have indicated some activity that could contribute to changed / corrupted data that could cause a file system inconsistency.
How do you do that exactly please?
are you still having the same issue over year later?

Please give some more information on your NAS.

What firmware and build number are you running now.
What Hard disk Model and make are you using with what Raid configuration.
Regards Simon

Qnap Downloads
MyQNap.Org Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following


NAS: TS-673A QuTS hero h5.1.2.2534 • TS-121 4.3.3.2420 • APC Back-UPS ES 700G
Network: VM Hub3: 500/50 • UniFi UDM Pro: 3.2.9 • UniFi Network Controller: 8.0.28
USW-Aggregation: 6.6.61 • US-16-150W: 6.6.61 • 2x USW Mini Flex 2.0.0 • UniFi AC Pro 6.6.62 • UniFi U6-LR 6.6.62
UniFi Protect: 2.11.21/8TB Skyhawk AI • 3x G3 Instants: 4.69.55 • UniFi G3 Flex: 4.69.55 • UniFi G5 Flex: 4.69.55
frustin
Know my way around
Posts: 109
Joined: Mon Oct 05, 2009 1:46 am

Re: every reboot - filesystem not clean

Post by frustin »

Toxic17 wrote: Wed Sep 11, 2019 7:52 pm
frustin wrote: Wed Sep 11, 2019 7:26 pm
AlastairStevenson wrote: Mon Jul 22, 2019 5:23 pm Much better to make a manual assessment of the SMART detail counts against the various attributes.
That might have indicated some activity that could contribute to changed / corrupted data that could cause a file system inconsistency.
How do you do that exactly please?
are you still having the same issue over year later?

Please give some more information on your NAS.

What firmware and build number are you running now.
What Hard disk Model and make are you using with what Raid configuration.
Hi, thanks for responding. Admittedly, i dont get this every reboot anymore, but i do get a lot of Qnap freezes whereby the OS becomes unresponsive, which means i can not get in by webUI, Qfinder, nor reboot on the front of the box. Which means I then have to hard reset the qnap, causing raid resyncs.

ALSO i can wake in the morning and see that the qnap has rebooted in the night for no reason, this is usually when it says that the filesystem is unclean. IF the qnap is responsive at all.

My qnap is a TS-670 Pro running latest firmware (always is): 4.3.6.1050 build 20190830
Disk set up is: 4x3TB WD RED (SMART shows no errors with them)
RAID 5 using Thin Volume

I thought i'd ask the question again because of all the reboots and freezes i was getting and i was wondering if it was a hidden HDD issue.
User avatar
Toxic17
Ask me anything
Posts: 6469
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: every reboot - filesystem not clean

Post by Toxic17 »

Hard disk will usually report some sort of issue if its failing. you reboots will be caused "most likely" by ram failing, overheating, fluctuating power supplies.

1. Is the NAS plugged into a UPS?
2. What temps are the CPU, Board/system, hard disks etc? are they within normal guidlines?
3. Have you upgrade the ram from the QNAP supplied ram? If so is it the same spec as the QNAP supplied ram.

QNAP reports the Hard Disk system not clean since the NAS has had a sudden reboot (power off/on) and not had a controlled shutdown or restart.
Regards Simon

Qnap Downloads
MyQNap.Org Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following


NAS: TS-673A QuTS hero h5.1.2.2534 • TS-121 4.3.3.2420 • APC Back-UPS ES 700G
Network: VM Hub3: 500/50 • UniFi UDM Pro: 3.2.9 • UniFi Network Controller: 8.0.28
USW-Aggregation: 6.6.61 • US-16-150W: 6.6.61 • 2x USW Mini Flex 2.0.0 • UniFi AC Pro 6.6.62 • UniFi U6-LR 6.6.62
UniFi Protect: 2.11.21/8TB Skyhawk AI • 3x G3 Instants: 4.69.55 • UniFi G3 Flex: 4.69.55 • UniFi G5 Flex: 4.69.55
AlastairStevenson
Experience counts
Posts: 2415
Joined: Wed Jan 08, 2014 10:34 pm

Re: every reboot - filesystem not clean

Post by AlastairStevenson »

How do you do that exactly please?
Storage and Snapshots | Storage | Disks | Disk Health button | SMART Information.
Then check the detail for each HDD in the dropdown.

Important will be any attributes (what's available varies with HDD brand / model) associated with errors.
Check the attribute meanings on Wikipedia.
TS-431+ for storage and media and a bunch of IP cams under Surveillance Station. TVS-473 as files backup and QVR Pro.
Post Reply

Return to “Miscellaneous”