ZFS, device name changing, Pools nicht mehr verfügbar

Alle weiteren Dienste, die nicht in die drei oberen Foren gehören.
Antworten
Benutzeravatar
CountDracula
Beiträge: 86
Registriert: 14.01.2011 00:53:59
Wohnort: Transylvania

ZFS, device name changing, Pools nicht mehr verfügbar

Beitrag von CountDracula » 15.06.2011 20:51:11

Hallo!

Ich hatte 4 Pools eingehangen und dann einen Stromausfall. Nach dem Boot können diese Pools nun nicht mehr eingebunden werden, weil sich die Gerätenamen geändert haben. Wie kann ich die Pools nun wieder ans laufen bekommen?

Noch paar Hintergrundinformationen:
  • Ubuntu 11.04
  • zfs-fuse (0.6.9-1)
  • 11 Festplatten (drei davon per USB angeschlossen)
Input:

Code: Alles auswählen

zpool status
Output:

Code: Alles auswählen

  pool: arba
 state: FAULTED
status: One or more devices could not be used because the label is missing 
	or invalid.  There are insufficient replicas for the pool to continue
	functioning.
action: Destroy and re-create the pool from
	a backup source.
   see: http://www.sun.com/msg/ZFS-8000-5E
 scrub: none requested
config:

	NAME        STATE     READ WRITE CKSUM
	arba        FAULTED      0     0     0  corrupted data
	  sdk       UNAVAIL      0     0     0  corrupted data

  pool: echad
 state: FAULTED
status: One or more devices could not be used because the label is missing 
	or invalid.  There are insufficient replicas for the pool to continue
	functioning.
action: Destroy and re-create the pool from
	a backup source.
   see: http://www.sun.com/msg/ZFS-8000-5E
 scrub: none requested
config:

	NAME        STATE     READ WRITE CKSUM
	echad       FAULTED      0     0     0  corrupted data
	  sdd       UNAVAIL      0     0     0  corrupted data

  pool: schalosch
 state: FAULTED
status: One or more devices could not be used because the label is missing 
	or invalid.  There are insufficient replicas for the pool to continue
	functioning.
action: Destroy and re-create the pool from
	a backup source.
   see: http://www.sun.com/msg/ZFS-8000-5E
 scrub: none requested
config:

	NAME        STATE     READ WRITE CKSUM
	schalosch   FAULTED      0     0     0  corrupted data
	  sdi       UNAVAIL      0     0     0  corrupted data

  pool: steim
 state: FAULTED
status: One or more devices could not be used because the label is missing 
	or invalid.  There are insufficient replicas for the pool to continue
	functioning.
action: Destroy and re-create the pool from
	a backup source.
   see: http://www.sun.com/msg/ZFS-8000-5E
 scrub: none requested
config:

	NAME        STATE     READ WRITE CKSUM
	steim       FAULTED      0     0     0  corrupted data
	  sdg       FAULTED      0     0     0  corrupted data
Noch habe ich ein Backup von den Daten, aber ich würde ungern die Pools alle neuanlegen und die Daten draufkopieren. Und außerdem werden sich die Gerätenamen bestimmt demnächst nochmal ändern. :roll:
I am Dracula. I bid you welcome.

Benutzeravatar
CountDracula
Beiträge: 86
Registriert: 14.01.2011 00:53:59
Wohnort: Transylvania

Re: ZFS, device name changing, Pools nicht mehr verfügbar

Beitrag von CountDracula » 15.06.2011 21:09:50

Habe es gerade geschafft:

Code: Alles auswählen

/etc/init.d/zfs-fuse stop
mv /var/lib/zfs/zpool.cache /tmp/
/etc/init.d/zfs-fuse start
zpool import echad
zpool import steim
zpool import schalosch
zpool import arba
Glück gehabt :)
I am Dracula. I bid you welcome.

rendegast
Beiträge: 15041
Registriert: 27.02.2006 16:50:33
Lizenz eigener Beiträge: MIT Lizenz

Re: ZFS, device name changing, Pools nicht mehr verfügbar

Beitrag von rendegast » 15.06.2011 22:42:01

Glück gehabt :)
Einen schnöden Stromausfall sollte das Supersystem schon abkönnen.
mfg rendegast
-----------------------
Viel Eifer, viel Irrtum; weniger Eifer, weniger Irrtum; kein Eifer, kein Irrtum.
(Lin Yutang "Moment in Peking")

xdanx
Beiträge: 473
Registriert: 15.11.2007 22:07:42
Lizenz eigener Beiträge: GNU General Public License

Re: ZFS, device name changing, Pools nicht mehr verfügbar

Beitrag von xdanx » 16.06.2011 01:00:14

CountDracula hat geschrieben:Habe es gerade geschafft:

Code: Alles auswählen

/etc/init.d/zfs-fuse stop
mv /var/lib/zfs/zpool.cache /tmp/
/etc/init.d/zfs-fuse start
zpool import echad
zpool import steim
zpool import schalosch
zpool import arba
Glück gehabt :)
מזל טוב :wink:

Antworten