Announcement

Collapse
No announcement yet.

ntfs drive won't mount

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    ntfs drive won't mount

    Hi,

    Objective: New Linux build on a new SSD and re-using the 3x HDD from my Windows HTPC which contain movie / music / TV content. One of the ntfs drives will not mount.
    Deviation: drive will not mount, other ntfs drives have successfully mounted

    The drive shows up in fdisk

    Disk model: ST4000DM004-2CV1
    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: 81E0FD96-ED59-11E7-9819-D43D7E9DDC22

    Device Start End Sectors SizeType
    /dev/sdc1 34 32801 32768 16M Microsoft reserved
    /dev/sdc2 34816 7814035455 7814000640 3.6T Microsoft Storage Spaces

    Partition 1 does not start on physical sector boundary.

    and in partition manager but as an unknown type:

    Click image for larger version  Name:	image.png Views:	0 Size:	93.1 KB ID:	687002

    but I've been unable to successfully mount it.

    Attempts so far:

    sudo mkdir /mnt/Movies2
    sudo mount /sdc2 /mnt/Movies2
    ​​
    This resulted in an NFTS signature missing error with an invalid argument I tried mounting sdc, sdc1 and sdc2.

    Running
    lsblk -o name,size,fstype

    I can see sdc is missing the type.

    Click image for larger version  Name:	image.png Views:	0 Size:	13.7 KB ID:	687003


    Question - is this recoverable within a Linux environment or am I better rebuilding the device back with the original Win10 c: drive and changing the storage drive in there?

    thank you!
    Last edited by new666uk; Today, 03:55 AM.

    #2
    you can inspect and change the partition type codes in cases where they have gotten changed somehow and linux no longer recognizes them... from my notes

    Code:
    #Run fdisk on the appropriate disk, for example without partition designation
    
    sudo fdisk /dev/sdc
    
    #Press t to change the type of a partition. If there are several, you will be asked which one you want to change:
    #Partition number (1,2, default 2):
    #If there’s only one, fdisk will tell you it’s automatically selecting it:
    
    Selected partition 1
    
    #Once the partition is selected, fdisk will ask what type you want:
    #Partition type (type L to list all types):
    
    #Enter the number here. Press p to check the result,
    #then w to write it to disk if the changes are OK or q to quit without saving.
    #This won’t touch the contents of the partition, you won’t lose any data.​
    you probably want them to be type 07

    https://linuxconfig.org/list-of-file...ion-type-codes
    Last edited by skyfishgoo; Today, 05:41 AM.

    Comment


      #3
      I seriously doubt you need to mess with the partition type.
      1. This
        Code:
        sudo mount /sdc2 /mnt/Movies2
        is incorrect. It would need to be this:
        Code:
        sudo mount /dev/sdc2 /mnt/Movies2
        Note the added "/dev" in front of /sdc2.
      2. If this still doesn't work, run "ntfsfix" on /dev/sdc2
      3. If you still have Windows, boot to it and run Windows chkdsk on that file system.
      4. If 1,2 and 3 fail. You may need to dig deeper..
      EDIT: You also need to verify that the file system is not encrypted. If it is, that would explain why KDE Partition Manager says it's unknown.
      Last edited by oshunluvr; Today, 06:49 AM.

      Please Read Me

      Comment


        #4
        Another thing that can cause this is shutting down Windows with fast start enabled.

        Please Read Me

        Comment


          #5
          I will say that "Microsoft Storage Spaces" is a new one for me. Usually its "Microsoft basic data" but maybe the former is for non-bootable ntfs file systems while the latter is for the OS file systems

          Please Read Me

          Comment

          Working...
          X