FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Fri May 07, 2021 03:49



Post new topic Reply to topic  [ 3 posts ] 
Problem mounting Win2k12 formatted drive in CentOS7 
Author Message

Joined: Tue Dec 23, 2014 23:32
Posts: 2
Post Problem mounting Win2k12 formatted drive in CentOS7
I had my Windows server become infected to the point where I could no longer use it. I have about 14TB of data that I am trying to recover from an external SAS array. I am moving everything over to Linux but didn't have a good Windows backup plan. So I'm trying to mount the array in CentOS7 command line only setup.

I have installed NTFS-3G and have a basic working knowledge of mounting drives in Linux.

The setup is on a Dell R900 the array is an external Rackables OmniStor connected via a LSI MegaRAID 8888ELP using 2TB drives in a RAID 6 array. The total array is about 20TB but only about 14TB of data on it.

The error I get when trying to mount the drive is:

[root@R900 ~]# mount -t ntfs /dev/sda2 /mnt/win
NTFS signature is missing.
Failed to mount '/dev/sda2': Invalid argument
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?

The output from gdisk -l:
[root@R900 ~]# gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.6

Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 42947244032 sectors, 20.0 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): D07AC56A-4D8D-11E4-80BB-E61F13270B4F
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 42947243998
Partitions will be aligned on 8-sector boundaries
Total free space is 4029 sectors (2.0 MiB)

Number Start (sector) End (sector) Size Code Name
1 34 262177 128.0 MiB 0C01 Microsoft reserved part
2 264192 42947241983 20.0 TiB FFFF External

All software packages are up to date as of around noon today.
With this not working, I have been spending the day learning a little more about KVM to setup a Windows VM to connect to the Array. I would prefer to just connect to the data in Linux since Windows was the problem to begin with. Yes it was running an updated anti-virus / anti-malware package, but I guess it just wasn't good enough.

All information will be transferred off the system and transferred to an iSCSI target once I can access it, and I will work on a better backup/data recovery plan. For now I just need to access the data.


Tue Dec 23, 2014 23:51
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: Problem mounting Win2k12 formatted drive in CentOS7
Hi,

Code:
[root@R900 ~]# mount -t ntfs /dev/sda2 /mnt/win
NTFS signature is missing.
Failed to mount '/dev/sda2': Invalid argument
The device '/dev/sda2' doesn't seem to have a valid NTFS.

I have no experience with GPT partitioning and no much more with raid storage, so I might be of no much help...

First, in your situation, you should mount read-only to prevent accidental damage to your data. Just add "-o ro" to the mount command :
Code:
mount -t ntfs -o ro /dev/sda2 /mnt/win


Second, /dev/sda, /dev/sdb, etc. usually designate physical disks, whereas the global raid storage is designated by /dev/md-something. I have some doubt about it, as /dev/sda is shown as 20TB. Anyway, what is the output of :
Code:
ls -l /dev/md*
# if unsuccessfull, try
ls -l /dev/*p2

If you see something like md31416p2, try mounting with :
Code:
mount -t ntfs -o ro /dev/md31416p2 /mnt/win

(/mnt/win must be an existing empty directory)

Regards

Jean-Pierre


Wed Dec 24, 2014 09:53
Profile

Joined: Tue Dec 23, 2014 23:32
Posts: 2
Post Re: Problem mounting Win2k12 formatted drive in CentOS7
jpa wrote:
Hi,

Code:
[root@R900 ~]# mount -t ntfs /dev/sda2 /mnt/win
NTFS signature is missing.
Failed to mount '/dev/sda2': Invalid argument
The device '/dev/sda2' doesn't seem to have a valid NTFS.

I have no experience with GPT partitioning and no much more with raid storage, so I might be of no much help...

First, in your situation, you should mount read-only to prevent accidental damage to your data. Just add "-o ro" to the mount command :
Code:
mount -t ntfs -o ro /dev/sda2 /mnt/win


Second, /dev/sda, /dev/sdb, etc. usually designate physical disks, whereas the global raid storage is designated by /dev/md-something. I have some doubt about it, as /dev/sda is shown as 20TB. Anyway, what is the output of :
Code:
ls -l /dev/md*
# if unsuccessfull, try
ls -l /dev/*p2

If you see something like md31416p2, try mounting with :
Code:
mount -t ntfs -o ro /dev/md31416p2 /mnt/win

(/mnt/win must be an existing empty directory)

Regards

Jean-Pierre


Thanks for the assistance, but something must have happened to the partitions. I put the controller into a Windows machine and verified that the controller still could see the array, however Windows didn't even acknowledge there was a drive there. The controller drivers were properly loaded etc.

Since Windows couldn't see the partition either, I lost all hope of retrieving the data. So it got wiped. I'm starting from the ground up with a new system with backup and synchronization to another server.

Thanks again.


Sat Dec 27, 2014 05:20
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.