Thanks for posting. This worked for me as well, after trying all the steps found elsewhere without success.pombeirp wrote:Even after stopping all the services, I initially wasn't able to unmount /dev/mapper/cachedev1. In the end I fixed it by passing the -l flag to the umount command. As per the documentation:
Hope this helps other people in the same situation.There are several options that can be tried in the event that umount refuses to unmount a filesystem for no immediately apparent reason. Perhaps the most useful is the -l (i.e., lazy) option, which immediately detaches the filesystem from the main filesystem and then cleans up all references to the unmounted filesystem as soon as it is no longer busy. This capability requires Linux kernel 2.4.11 or later.
Check File System returned "Examination failed (Cannot unmount disk)."
-
- First post
- Posts: 1
- Joined: Thu Dec 08, 2016 9:19 pm
Re: Check File System returned "Examination failed (Cannot unmount disk)."
- garniemand
- New here
- Posts: 6
- Joined: Sat Aug 24, 2013 2:10 pm
Re: Check File System returned "Examination failed (Cannot unmount disk)."
Hi there,
had the same error message and support helped me to resolve the issue was mounted again (occured after switching to 4.3.2).
Still file system is not clean so I thought rather than waiting a very long time when starting the file check via the GUI.
I had this before and for my 6TB in a RAID 5 it took 3 days...
I used the support (and this thread to help unmounting) went via Putty and the e2fsck is hopefully still running. I have seen that normally it has 5 passes but since yesterday it seems stuck - is this the case or could it be that it takes that long ?
Don't want to close putty but wonder whether I can log back in via a second session to check whether its still running ?
do I need to log in via a different ip (the nas uses 4) and another user to avoid a hickup - or can I log in twice...
thanks for the help so far
had the same error message and support helped me to resolve the issue was mounted again (occured after switching to 4.3.2).
Still file system is not clean so I thought rather than waiting a very long time when starting the file check via the GUI.
I had this before and for my 6TB in a RAID 5 it took 3 days...
I used the support (and this thread to help unmounting) went via Putty and the e2fsck is hopefully still running. I have seen that normally it has 5 passes but since yesterday it seems stuck - is this the case or could it be that it takes that long ?
Don't want to close putty but wonder whether I can log back in via a second session to check whether its still running ?
do I need to log in via a different ip (the nas uses 4) and another user to avoid a hickup - or can I log in twice...
thanks for the help so far
You do not have the required permissions to view the files attached to this post.
- OneCD
- Guru
- Posts: 12146
- Joined: Sun Aug 21, 2016 10:48 am
- Location: "... there, behind that sofa!"
Re: Check File System returned "Examination failed (Cannot unmount disk)."
Yes, you can have concurrent SSH sessions.garniemand wrote:Don't want to close putty but wonder whether I can log back in via a second session to check whether its still running ?
do I need to log in via a different ip (the nas uses 4) and another user to avoid a hickup - or can I log in twice...
If you'd like to be able to login - run a command - then disconnect - then login again and check on it, you may want to investigate a utility called screen. I use this frequently.
First, you'll need to install the Entware-ng QPKG.
Then to install screen:
Code: Select all
opkg update; opkg install screen
-
- New here
- Posts: 5
- Joined: Sun Apr 03, 2016 1:11 am
Re: Check File System returned "Examination failed (Cannot unmount disk)."
I had a similar type of issue with my TS453mini after I tried to expand my DataVolume following the installation of an additional hard drive in my RAID5.
When I tried to unmount, I would get the following:
Based on something I read somewhere else, I ran the following command to check what was causing the "busy" status:
I figured it had to do something with HDStation so I stopped it:
Rerunning the lsof command above didn't return anything so I proceeded with the umount and e2fsck which worked successfully this time:
When I tried to unmount, I would get the following:
Code: Select all
[~] # umount /dev/mapper/cachedev1
umount: /share/CACHEDEV1_DATA: device is busy
umount: /share/CACHEDEV1_DATA: device is busy
Code: Select all
[~] # lsof |grep /share/CACHEDEV1_DATA/
lsof: WARNING: can't stat() fuse file system /mnt/rf/cd
Output information may be incomplete.
alice 17409 admin txt REG 252,0 1700632 1448490 /share/CACHEDEV1_DATA/.qpkg/HD_Station/opt/nas_bin/alice
alice 17409 17420 admin txt REG 252,0 1700632 1448490 /share/CACHEDEV1_DATA/.qpkg/HD_Station/opt/nas_bin/alice
alice 17409 17422 admin txt REG 252,0 1700632 1448490 /share/CACHEDEV1_DATA/.qpkg/HD_Station/opt/nas_bin/alice
Code: Select all
[~] # /etc/init.d/HD_Station.sh stop
hal_event: unrecognized option '--mem_file_swap'
/share/CACHEDEV1_DATA/.qpkg/XBMC/HDPlayer.sh: line 24: /share/CACHEDEV1_DATA/.qpkg/XBMC/bin/python: No such file or directory
/share/CACHEDEV1_DATA/.qpkg/XBMC/HDPlayer.sh: line 16: /share/CACHEDEV1_DATA/.qpkg/XBMC/bin/python: No such file or directory
rmdir: '/share/CACHEDEV1_DATA/.qpkg/HD_Station/share/external': No such file or directory
Code: Select all
[~] # umount /dev/mapper/cachedev1
[~] # e2fsck -f /dev/mapper/cachedev1
e2fsck 1.42.13 (17-May-2015)
Pass 1: Checking inodes, blocks, and sizes
Inode 1327109 has INDEX_FL flag set on filesystem without htree support.
Inode 119291905 has INDEX_FL flag set on filesystem without htree support.
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
DataVol1: ***** FILE SYSTEM WAS MODIFIED *****
DataVol1: 405972/320487424 files (1.1% non-contiguous), 1204222485/1281942528 blocks
-
- New here
- Posts: 2
- Joined: Sun Jul 03, 2016 5:12 am
Re: Check File System returned "Examination failed (Cannot unmount disk)."
I had the same issue and stopping Container Station from App Center helped me.
-
- Starting out
- Posts: 34
- Joined: Thu Dec 03, 2009 12:23 am
Re: Check File System returned "Examination failed (Cannot unmount disk)."
On my TS239Pro it was enough to:
1) shell into the server & exectute /etc/init.d/services.sh stop
2) log in through web and click the check filesystem on my raid volume
Thanks for the help!
1) shell into the server & exectute /etc/init.d/services.sh stop
2) log in through web and click the check filesystem on my raid volume
Thanks for the help!
-
- First post
- Posts: 1
- Joined: Tue Aug 01, 2017 10:59 pm
Re: Check File System returned "Examination failed (Cannot unmount disk)."
Thank you
I exactly proceed like you mentionnd and it works like a charm for the first 2 disks concerned !Ankhazam