*New 11.3 series Release:
2019-10-05: XigmaNAS 11.3.0.4.6928 - released, 11.2 series are soon unsupported!

*New 12.0 series Release:
2019-10-05: XigmaNAS 12.0.0.4.6928 - released!

*New 11.2 series Release:
2019-09-23: XigmaNAS 11.2.0.4.6881 - released!

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

"Can't get UFS ID" error: FAQ 0001 problem

Problems, solutions, software
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
mmc
Starter
Starter
Posts: 15
Joined: 06 Feb 2014 09:08
Status: Offline

"Can't get UFS ID" error: FAQ 0001 problem

#1

Post by mmc » 15 Feb 2014 21:27

Hi all,
I have installed the 9.1 relase of N4F, after a power failure I got the subject message for one of the 4 disks. I was advised here to try the solution in FAQ 0001 (http://wiki.nas4free.org/doku.php?id=faq:0001).
I downloaded the 9.2 live USB (I do not have a cd rom connected) and followed the procedure number 2. I do not have a RAID array, so when I typed

Code: Select all

fsck_ufs -p /dev/YourDrivep1 &
changing in "dev/ada4p1" I had the following answer:

[1] 11671
#Can't stat /dev/ada4p1: No such file or directory

Than I tried:

Code: Select all

fsck_ufs -p /dev/ada4p1
and the answer was:

#Can't stat /dev/ada4p1: No such file or directory

Than again:

Code: Select all

fsck_ufs -p /dev/ada4 &
with the answer:

[1] 11677
#Cannot find file system superblock

and last:

Code: Select all

fsck_ufs -p /dev/ada4
with the answer:

#Cannot find file system superblock


Where is my mistake? :)

Thank you for your help.

substr
experienced User
experienced User
Posts: 113
Joined: 04 Aug 2013 20:21
Status: Offline

Re: "Can't get UFS ID" error: FAQ 0001 problem

#2

Post by substr » 15 Feb 2014 23:03

Try

Code: Select all

ls -l /dev/ada4*
and see what shows up.

mmc
Starter
Starter
Posts: 15
Joined: 06 Feb 2014 09:08
Status: Offline

Re: "Can't get UFS ID" error: FAQ 0001 problem

#3

Post by mmc » 16 Feb 2014 14:52

Thank you substr for your answer.

The result is:

Code: Select all

crw-r-----  1 root  operator  0x6a Feb 16 13:13 /dev/ada4
For what I understand, there is a ada4 disk.
If I run the command:

Code: Select all

ls -l /dev/ada*
the result is:

Code: Select all

crw-r-----  1 root  operator  0x60 Feb 16 13:45 /dev/ada0
crw-r-----  1 root  operator  0x62 Feb 16 13:45 /dev/ada0p1
crw-r-----  1 root  operator  0x64 Feb 16 13:45 /dev/ada1
crw-r-----  1 root  operator  0x72 Feb 16 13:45 /dev/ada1p1
crw-r-----  1 root  operator  0x66 Feb 16 13:45 /dev/ada2
crw-r-----  1 root  operator  0x74 Feb 16 13:45 /dev/ada2p1
crw-r-----  1 root  operator  0x68 Feb 16 13:45 /dev/ada3
crw-r-----  1 root  operator  0x76 Feb 16 13:45 /dev/ada3p1
crw-r-----  1 root  operator  0x6a Feb 16 13:45 /dev/ada4
crw-r-----  1 root  operator  0x6c Feb 16 13:45 /dev/ada5
crw-r-----  1 root  operator  0x78 Feb 16 13:45 /dev/ada5p1
So for each disk there is a "p1", apart for ada4.

What else can I do?

Thank you again.

substr
experienced User
experienced User
Posts: 113
Joined: 04 Aug 2013 20:21
Status: Offline

Re: "Can't get UFS ID" error: FAQ 0001 problem

#4

Post by substr » 17 Feb 2014 19:22

I can only recommend scanning to see if there is a UFS on that disk. If there is, you must have lost your partition table somehow. If there isn't, perhaps you are accessing the wrong disk? Maybe the disk names changed after the reboot.

Code: Select all

head -c256000000 /dev/ada4 | hexdump -C | grep "54 19"
You'll either get some lines of output, or nothing.

mmc
Starter
Starter
Posts: 15
Joined: 06 Feb 2014 09:08
Status: Offline

Re: "Can't get UFS ID" error: FAQ 0001 problem

#5

Post by mmc » 17 Feb 2014 21:54

It says:

Code: Select all

hexdump: Command not found
I'm pretty sure this is the disk with problems, since I can easily access all the other disks as a shared drive on my network, and ada4 is the only one without the "-p1" suffix.

I am using a LIVE/USB, as suggested in the FAQ0001, in order to gain access again to the disk.

What can I do now?

Thank you for your help.

substr
experienced User
experienced User
Posts: 113
Joined: 04 Aug 2013 20:21
Status: Offline

Re: "Can't get UFS ID" error: FAQ 0001 problem

#6

Post by substr » 18 Feb 2014 02:22

I didn't realize hexdump was unavailable.

You may want to try UFS Explorer on a Windows computer to see if it can identify any files on the drive.

mmc
Starter
Starter
Posts: 15
Joined: 06 Feb 2014 09:08
Status: Offline

Re: "Can't get UFS ID" error: FAQ 0001 problem

#7

Post by mmc » 21 Feb 2014 10:20

Well, I'm quite surprised that UFS is so weak regarding power failure, allowing to loose all data. With HFS+ and NTFS I have never had such problem (and I had much more power failure!).

I'll try as soon as I can UFS explorer, thank you for your help and suggestions.

Do you know if there is a Linux distro that can easily read UFS partition and recover data?

Thank you again.

substr
experienced User
experienced User
Posts: 113
Joined: 04 Aug 2013 20:21
Status: Offline

Re: "Can't get UFS ID" error: FAQ 0001 problem

#8

Post by substr » 21 Feb 2014 17:20

UFS in general is not that weak. Whatever has happened is something a little different than usual behavior. Had the system ever rebooted after you created the UFS that is missing?

Don't know about Linux and UFS, but FUSE might have a UFS module available.

mmc
Starter
Starter
Posts: 15
Joined: 06 Feb 2014 09:08
Status: Offline

Re: "Can't get UFS ID" error: FAQ 0001 problem

#9

Post by mmc » 28 Feb 2014 13:26

substr wrote: Had the system ever rebooted after you created the UFS that is missing?
Yes I rebooted several times, after the creation of the partition and also after the problem.

I tried to load the partition under ubuntu live cd, but no luck. I had exactly this situation: http://askubuntu.com/questions/85154/mo ... filesystem
I tried with gparted live cd, but it says the allocation table is unknown (probably because UFS File System is not supported).
I tried with a live cd of PCBSD, I executed this command:

Code: Select all

atacontrol list
And the broken disk is "ad1"

Then I created a folder and executed:

Code: Select all

mount /dev/ad1 /folderjustcreated
And the answer was:

Code: Select all

/dev/ad1 invalid argument
The disk is attached, but it seems to be impossible to mount the partition.

I'll keep looking around, but I fear that I have fewer and fewer chances to get the data back. :(

Thank you anyway for your help.

substr
experienced User
experienced User
Posts: 113
Joined: 04 Aug 2013 20:21
Status: Offline

Re: "Can't get UFS ID" error: FAQ 0001 problem

#10

Post by substr » 28 Feb 2014 22:35

I recommend trying UFS Explorer again, as it has the ability to find UFS even with a destroyed partition table, which you seem to have.

skippy76
NewUser
NewUser
Posts: 1
Joined: 26 Mar 2017 12:49
Status: Offline

Re: "Can't get UFS ID" error: FAQ 0001 problem

#11

Post by skippy76 » 01 Apr 2017 04:26

Over the last 7 days I've had the same problems and found Raise Data Recovery is much better than UFS Explorer as it can see things which UFS Explorer can't.

dirk6665
NewUser
NewUser
Posts: 1
Joined: 21 Sep 2017 22:17
Status: Offline

Re: "Can't get UFS ID" error: FAQ 0001 problem

#12

Post by dirk6665 » 21 Sep 2017 22:36

I was running an earlier version of NAS4FREE and my NAS server threw a hiccup and would not boot. Having some additional hardware sitting around I quickly was able to use the USB LIVE version and get another system back up and online in under an hour - however - I could only get my 2TB disk online and my 4TB disk would not set up properly... same issue as many have been describing ... Could not find a UFS identifier.

After MANY attempts - even making certain the BIOS was supporting the GEOM of the drive - I decided the partition table must have got hosed. I pulled the drive and stuck it in a nearby Windows-based machine and rebooted. I then proceeded to download UFS Explorer Standard Recovery as mentioned by a previous poster and verified it could read the UFS file system (no issues at all - was able to read complete disk with NO issues). So I took two additional 4TB disks and created a Software RAID on the NAS, Shared it using CIFS/SMB and mounted it as a drive letter on the Windows box. Ran the UFS Explorer Standard Recovery software and was able to copy the folders to the new 4TB RAID volume. Yes - it's taking a LONG time to transfer some of the folders - as they contain hundreds of GB - but I am relieved I could get all my data back.

I am a bit concerned that the UFS file system dumped the partition table, but hopefully with RAID-1 on the two 4TB disks I won't have this issue again and can simply rebuild a crashed disk (or replace it).

I purchased a very inexpensive drive enclosure that supports hot swapping (not with NAS4Free, obviously) and has a built-in FAN - supports 5 disks - but I only have 4 available SATA disk connectors on this new board. Anyone have a suggestion for a add-in card that would provide a few more SATA interface devices?

Here's a link to a similar drive cage I purchased...

http://www.ebay.com/itm/iStarUSA-BPU-35 ... 46458bb1d2

Anyway - this is how I recovered my faulty, UFS-not-recognized drive. I do recommend the UFS Explorer Standard Recovery software... good stuff.

--
Dirk

Post Reply

Return to “Data recovery and backups”