Sutff about my job and comments about personal activities. Take a look to the first idea.

Tuesday, October 21, 2014

fsck /home

To fsck /home, you need to change /etc/passwd to set user directory to /var/tmp

breyes:x:1000:1000:Beto Reyes,,,:/var/tmp:/bin/bash

After that, you do a list of open files related to /home directory with:
lsof +D /home

I recomend to stop samba service
/etc/init.d/samba stop

Stop dropbox service
dropbox stop

Do a full fsck with:
fsck.ext3 -f /dev/solar_vg/home_lv

after finishing, undo the previous steps