Two drives nfts in fstab, only one mounts correctly
by thethinker from LinuxQuestions.org on (#6Q3D7)
I have two NTFS drives - these two
Code:Disk /dev/sdb: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: Samsung SSD 870
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: B6B838BB-B772-4324-A503-D7E0D896365F
Device Start End Sectors Size Type
/dev/sdb1 2048 1953523711 1953521664 931.5G Microsoft basic data
Disk /dev/sdc: 4.55 TiB, 5000981077504 bytes, 9767541167 sectors
Disk model: Expansion Desk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 142A22FB-9D38-45F8-A0F5-20DC5C3BBE12
Device Start End Sectors Size Type
/dev/sdc1 34 262177 262144 128M Microsoft reserved
/dev/sdc2 264192 9767540735 9767276544 4.5T Microsoft basic dataand in fstab I have
Code:/dev/sdc2 /mnt/Backup ntfs3 fmask=133,dmask=022 1 0
/dev/sdb1 /mnt/WindowsUserData ntfs3 fmask=111,dmask=000 1 0However, WindowsUserData mounts on startup, but Backup I can't even mount with a command:
Code:# mount /dev/sdc2
mount: /mnt/Backup: wrong fs type, bad option, bad superblock on /dev/sdc2, missing codepage or helper program, or other error.I've heard "you can only fix these in a Windows envronment", so maybe I'll go about doing that, but I also think Windows will read this drive fine. I've also heard "use this ntfs and not this other ntfs", so let's check that:
Code:# ls /var/log/packages/ | grep "ntfs"
ntfs-3g-2022.10.3-x86_64-1_slack15.0Is that "the right one"?
Any other ideas?
Code:Disk /dev/sdb: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: Samsung SSD 870
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: B6B838BB-B772-4324-A503-D7E0D896365F
Device Start End Sectors Size Type
/dev/sdb1 2048 1953523711 1953521664 931.5G Microsoft basic data
Disk /dev/sdc: 4.55 TiB, 5000981077504 bytes, 9767541167 sectors
Disk model: Expansion Desk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 142A22FB-9D38-45F8-A0F5-20DC5C3BBE12
Device Start End Sectors Size Type
/dev/sdc1 34 262177 262144 128M Microsoft reserved
/dev/sdc2 264192 9767540735 9767276544 4.5T Microsoft basic dataand in fstab I have
Code:/dev/sdc2 /mnt/Backup ntfs3 fmask=133,dmask=022 1 0
/dev/sdb1 /mnt/WindowsUserData ntfs3 fmask=111,dmask=000 1 0However, WindowsUserData mounts on startup, but Backup I can't even mount with a command:
Code:# mount /dev/sdc2
mount: /mnt/Backup: wrong fs type, bad option, bad superblock on /dev/sdc2, missing codepage or helper program, or other error.I've heard "you can only fix these in a Windows envronment", so maybe I'll go about doing that, but I also think Windows will read this drive fine. I've also heard "use this ntfs and not this other ntfs", so let's check that:
Code:# ls /var/log/packages/ | grep "ntfs"
ntfs-3g-2022.10.3-x86_64-1_slack15.0Is that "the right one"?
Any other ideas?