LibAtaForAtaDisks

Differences between revisions 1 and 2
Revision 1 as of 2006-04-21 08:50:13
Size: 942
Editor: 213
Comment: Just started, so go easy on the flamethrower...
Revision 2 as of 2006-04-21 11:49:26
Size: 1547
Editor: quest
Comment: notes about using uuid
Deletions are marked like this. Additions are marked like this.
Line 26: Line 26:
ScottJamesRemnant notes:
 * Requires migrating all references to disks; including boot-loader, /etc/fstab and just about anywhere else they might show up.
 * I'd recommend migrating them to UUID-based paths, rather than /dev/sd*; e.g. UUID=xxx or /dev/disk/by-uuid/xxx for each case.
 * This can be done *before* upgrading (/dev/hd* have uuids too) so that after reboot, everything still works even though they're now on the scsi subsystem
 * And this gives them free removable/swappable disk support (take your root disk out, put it in usb cradle, boot another machine with it and it just works)

DRAFT - BRAINDUMP - NOT COMPLETE - WORK IN PROGRESS - I am still thinking about pro/con situations.

Summary

There is work on the go by Alan Cox in the kernel to make libata handle PATA disks as well as SATA disks. This would allow for a simpler install image due to all disks becoming sdXY.

Rationale

One interface for all things ATA, allow drivers/ide to go away. One namespace for disks whether SCSI or ATA.

Use cases

Scope

Design

Implementation

ScottJamesRemnant notes:

  • Requires migrating all references to disks; including boot-loader, /etc/fstab and just about anywhere else they might show up.
  • I'd recommend migrating them to UUID-based paths, rather than /dev/sd*; e.g. UUID=xxx or /dev/disk/by-uuid/xxx for each case.
  • This can be done *before* upgrading (/dev/hd* have uuids too) so that after reboot, everything still works even though they're now on the scsi subsystem
  • And this gives them free removable/swappable disk support (take your root disk out, put it in usb cradle, boot another machine with it and it just works)

Code

Data preservation and migration

Outstanding issues

BoF agenda and discussion


CategorySpec

LibAtaForAtaDisks (last edited 2008-08-06 16:23:11 by localhost)