This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Importproblem UFS

German community

Moderators: b0ssman, apollo567, Princo, crowi

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
corvinus@lavabit.com
NewUser
NewUser
Posts: 7
Joined: 06 Jan 2013 11:32
Status: Offline

Importproblem UFS

Post by corvinus@lavabit.com »

Guten Abend zusammen,

ich habe leider ein Problem, bei dem ich vorerst nicht weiter weiß.

Zunächst mal verwende ich NAS4Free 9.1.0.1 - Sandstorm (revision 724). Ich habe hier eine HDD die per UFS formatiert ist. Bei einer frischen Installation von NAS4FREE funktioniert das "Clear config and Import Disks", jedoch erscheint beim Erstellen des Mountpoints folgende Fehlermeldung:

Fehlermeldung:

Code: Select all

The following input errors were detected: 
Wrong partition type or partition number.
/dev/ada0p1: Can't get UFS ID.
dumpfs: /dev/ada0p1: could not find special device
Recherchen/Vermutungen ergaben ein Problem mit dem Labeling von UFS mit FreeBSD.


geom disk list:

Code: Select all

Geom name: ada0
Providers:
1. Name: ada0
   Mediasize: 640133946880 (596G)
   Sectorsize: 512
   Mode: r0w0e0
   descr: WDC WD6401AALS-00L3B2
   ident: (null)
   fwsectors: 63
   fwheads: 16

gpart show ada0:

Code: Select all

gpart: No such geom: ada0.
diskinfo -v ada0:

Code: Select all

ada0
	512         	# sectorsize
	640133946880	# mediasize in bytes (596G)
	1250261615  	# mediasize in sectors
	0           	# stripesize
	0           	# stripeoffset
	1240338     	# Cylinders according to firmware.
	16          	# Heads according to firmware.
	63          	# Sectors according to firmware.
	WD-WCASY5133899	# Disk ident.
Kann man unter der Voraussetzung, dass man weder ein Konfigurationsbackup besitzt noch die frühere Reihenfolge der Plattenanbindung kennt, die Platte über NAS4FREE einbinden? Wenn nein, dann über FreeBSD direkt? Wenn ja, wie kann ich unbekannterweise ein Label setzen, damit NAS4FREE wieder darauf zugreifen kann?
SSH-Zugriff und Linux/FreeBSD-Kenntnisse (Anfängergrad mit gesteigertem Interesse) sind vorhanden.

Kann mir bitte jemand von Euch helfen oder besteht da keine Chance mehr?

MfG corvinus

User avatar
Princo
Forum Moderator
Forum Moderator
Posts: 1080
Joined: 15 Jul 2012 01:21
Location: Berlin, Germany
Status: Offline

Re: Importproblem UFS

Post by Princo »

Was ergibt denn

Code: Select all

fdisk ada0
:?:
Meine Antworten beziehen sich immer auf die englischsprachige GUI. ECC-RAM ist Pflicht beim Einsatz von ZFS.

corvinus@lavabit.com
NewUser
NewUser
Posts: 7
Joined: 06 Jan 2013 11:32
Status: Offline

Re: Importproblem UFS

Post by corvinus@lavabit.com »

fdisk ada0:

Code: Select all

******* Working on device /dev/ada0 *******
parameters extracted from in-core disklabel are:
cylinders=1240338 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1240338 heads=16 sectors/track=63 (1008 blks/cyl)

fdisk: invalid fdisk partition table found
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 63, size 1250260641 (610478 Meg), flag 80 (active)
	beg: cyl 0/ head 1/ sector 1;
	end: cyl 273/ head 15/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
Sehe ich das richtig, das die Partitionstabelle fehlerhaft ist?

User avatar
Princo
Forum Moderator
Forum Moderator
Posts: 1080
Joined: 15 Jul 2012 01:21
Location: Berlin, Germany
Status: Offline

Re: Importproblem UFS

Post by Princo »

corvinus@lavabit.com wrote:fdisk ada0:

Code: Select all

fdisk: invalid fdisk partition table found
Sehe ich das richtig, das die Partitionstabelle fehlerhaft ist?
Da könntest du recht haben.
Edit: aber nur, wenn es tatsächlich eine UFS-Platte ist. Bei ZFS wäre die Angabe OK.

Normalerweise sollte das nämlich so aussehen (Größen sind anders, weil virtuelle 1GB-HD):

Code: Select all

******* Working on device /dev/ada1 *******
parameters extracted from in-core disklabel are:
cylinders=2080 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=2080 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 238 (0xee),(EFI GPT)
    start 1, size 2097151 (1023 Meg), flag 80 (active)
	beg: cyl 0/ head 0/ sector 2;
	end: cyl 1023/ head 255/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
- Sind auf der Platte wichtige Daten drauf?
- Wurde das UFS mit NAS4Free erzeugt?
- Ist/war die Platte mal per USB eingebunden?
Meine Antworten beziehen sich immer auf die englischsprachige GUI. ECC-RAM ist Pflicht beim Einsatz von ZFS.

User avatar
Princo
Forum Moderator
Forum Moderator
Posts: 1080
Joined: 15 Jul 2012 01:21
Location: Berlin, Germany
Status: Offline

Re: Importproblem UFS

Post by Princo »

STOP!
Bin mir ziemlich sicher, daß du eine ZFS-Platte vor dir hast. Das würde auch den Fehler mit dem Mountpoint erklären.
Meine Antworten beziehen sich immer auf die englischsprachige GUI. ECC-RAM ist Pflicht beim Einsatz von ZFS.

corvinus@lavabit.com
NewUser
NewUser
Posts: 7
Joined: 06 Jan 2013 11:32
Status: Offline

Re: Importproblem UFS

Post by corvinus@lavabit.com »

Ich bin mir sehr sicher, weil ich erst demnächst nach ZFS migrieren möchte. Die Daten sind nicht lebenswichtig, aber die Rekonstruktion wäre schon ziemlich aufwändig. Das UFS wurde definitiv mit NAS4FREE erzeugt. Ich habe die Platte einmal über USB eingebunden gehabt.

Post Reply

Return to “Deutsch”