Jump to content


Photo

[VU+][Duo²] Unable to perform a filesystem check / kill smbd

smbd vu+ duo2 filesystem check

  • Please log in to reply
4 replies to this topic

#1 Pr2

  • PLi® Contributor
  • 6,046 posts

+256
Excellent

Posted 16 October 2013 - 12:16

Hi,
 
I try to perform a filesystem check of the internal HDD (by the way it is viewed as an external HDD by the VU+ Duo2).
 
But this failed due to this:
# umount -f /media/hdd/
umount: can't forcibly umount /media/hdd: Device or resource busy

 

Looking at what is preventing the umount, I found this:
 
root@vuduo2:/media# fuser /media/hdd/
20157

 

Searching the process associated to it with I found:

 

20157 root      8016 S    smbd -D
 
I think that it can be interesting to improve the filesystem check option by including this "fuser search and kill" process when the hdd cannot be unmounted.
 
Or at least think to kill smbd before trying to umount the hdd for filesystem check.
 
Pr2
 

NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: [VU+][Duo²] Unable to perform a filesystem check / kill smbd #2 MiLo

  • PLi® Core member
  • 14,042 posts

+298
Excellent

Posted 16 October 2013 - 12:28

Sounds like a reasonable suggestion - and a nice improvement. After all, you cannot expect a shared disk to remain available while it's being initialized or fsck is running.
Real musicians never die - they just decompose

Re: [VU+][Duo²] Unable to perform a filesystem check / kill smbd #3 Robinson

  • Senior Member
  • 2,614 posts

+30
Good

Posted 19 February 2016 - 22:09

 

# umount -f /media/hdd/
umount: can't forcibly umount /media/hdd: Device or resource busy
Looking at what is preventing the umount, I found this:
root@vuduo2:/media# fuser /media/hdd/
20157

 

Hi,

Could you please help me understand how you managed to determine it was process 20157?


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: [VU+][Duo²] Unable to perform a filesystem check / kill smbd #4 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 20 February 2016 - 09:45

fuser probably.

 

If you have the process id, look it up using ps. Or use fuser -mv but I don't think the busybox implements honours that option.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: [VU+][Duo²] Unable to perform a filesystem check / kill smbd #5 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 20 February 2016 - 09:56

You should use

fuser -m /media/hdd

 

You can find the process with:

ps -w | grep 20157

 

By the way. In several cases you need to stop e2 (init 2) before you can umount the hdd.


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04



Also tagged with one or more of these keywords: smbd, vu+, duo2, filesystem, check

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users