ntfs-3g segmentation fault

My dev/sda6, which is a ntfs partition, can not mounted automatically anymore

Syndrome:
-Used to work ok, mounted under my home directory (/home/DangVinh/Documents) every boot time by a line in fstab
-Now: mount failed:

kernel: mount.ntfs[5279]: segfault at 9ddc238 ip 00b974e7 sp bfb52b9c error 4 in libntfs-3g.so.71.0.0[b8f000+58000]

-But I CAN mount /dev/sda6 /mnt, or any other directory, as long as it is not the old directory under my home dir

Solution:

umount /dev/sda6
ls -al /home/DangVinh

–>Spotted that /home/DangVinh/Documents directory is corrupted, listed by ????????. Tux doesn’t understand what kind of dir it is.

rm -r /home/DangVinh/Documents
–>Transport endpoint not connected :(

Can’t delete this folder.

After several tries, this is how I manage to do the job:

$umount -all
–>That’s sucks. Don’t panic

$rm /home/DangVinh/Documents
–>No complaints

$ls -al /home/DangVinh
–>Documents folder is gone. Fantastic

$reboot now
–>Oops… Have to push reset button

After reboot, recreate /home/DangVinh/Documents

$mount /dev/sda6
–>Works

A happy ending.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.