You are not logged in.
Here's a weird one. I have created a new ext4 filesystem and I've tried to mount it, but it just refuses (with no error).
# mount /dev/sda7 /devel
# echo $?
0
# umount /dev/sda7
umount: /dev/sda7: not mounted
The mount command does not show the partition as mounted. I get this output in dmesg:
EXT4-fs (sda7): mounted filesystem with ordered data mode. Opts: (null)
What the heck is going on?
Last edited by shaurz (2016-10-07 13:20:56)
Offline
Are the installed and running kernel versions the same?
pacman -Q linux; uname -a
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I can't explain what happened, but a few reboots later and it's OK now. My system was in some funky state.
Offline
After another reboot the problem came back. I noticed that the partition's UUID has changed so it looks like something is corrupting it. When I try to mount again I get this error:
mount: mount /dev/sda7 on /devel failed: Bad message
I ran fsck on the partition and got several errors (free blocks count wrong, directories count wrong, etc.)
Last edited by shaurz (2016-10-07 13:25:04)
Offline
https://www.archlinux.org/packages/extr … tmontools/
And secure your private data before!
Offline
I've not had any corruption until I resized my root partition (btrfs) to create the new partition (ext4). I've run all diagnostics on my SSD and there is no indication of any errors. Perhaps the partition resizing tool (gparted live iso) has messed something up, so I'm deleting the partition and trying again (with an Arch live iso instead).
Offline
It seems like Windows might be corrupting the filesystem. It happened again after rebooting from Windows.
This could be related to my use of 'ntfsfix' which I have to run on NTFS partitions in order to mount them in Linux. Perhaps a bug in that program is corrupting the NTFS filesystem in some way which causes it to splat data over other partitions on the drive when remounted in Windows.
I also have Ext2Fsd installed on Windows, although I don't use it. I will uninstall it to remove it as a variable.
Last edited by shaurz (2016-10-07 14:31:53)
Offline
Maybe run head -c 1M |strings to see what kind of stuff overwrote the first 1 meg of this partition (assuming this is the part which got overwritten, nobody knows for sure).
Check with fdisk -l if the partition doesn't overlap with another one. Something like your btrfs partition still using this space, for example.
Offline
Make sure that Windows "Fast Boot" is turned off. Windows craps on other OSes when that is enabled.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline