View previous topic :: View next topic |
Author |
Message |
StaffanP n00b
Joined: 01 Oct 2002 Posts: 35 Location: Sweden
|
Posted: Fri Feb 01, 2013 10:18 pm Post subject: udev update changed disk labels, ZFS home won't mount [SOLV] |
|
|
My /home consists of 2x2TB disks in a ZFS mirror (ZFSOnLinux)
The pool was created using the labels
/dev/disk/by-id/scsi-SATA_ST2000DM001-9YN_{serial} and
/dev/disk/by-id/scsi-SATA_ST2000DM001-9YN_{other serial}
Today I upgraded udev and rebooted my machine, and what a surprise! Apparently, someone has decided to change how the disk identifies itself to the system, so now my ZFS won't mount anymore, complaining that "One or more devices could not be used because the label is missing".
The disks are now identified by
/dev/disk/by-id/ata-ST2000DM001-9YN164_{serial} and
/dev/disk/by-id/ata-ST2000DM001-9YN164_{other serial}
Important question: How do I safely update the zpool disk label entries to use the new IDs without losing 2 TB of my data?
Last edited by StaffanP on Sat Feb 02, 2013 8:13 am; edited 2 times in total |
|
Back to top |
|
|
StaffanP n00b
Joined: 01 Oct 2002 Posts: 35 Location: Sweden
|
Posted: Fri Feb 01, 2013 11:01 pm Post subject: |
|
|
Ok, I solved it myself.
I did a 'zpool export home' followed by 'zpool import home -f', that updated the device names.
Not sure what this does or if it's safe, but my /home is working again! |
|
Back to top |
|
|
|
|
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 vote in polls in this forum
|
|