You'll want to be careful around Sun LDOMs; They don't have a tx in the filesystem designation:
Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0d0s0 8261657 4113861 4065180 51% / --TSK -----=====----- Tim Kimball sungak.net choogendyk wrote: > > Sun traditionally uses a designation cxtxdxsx for a partition (or > slice), where the x's are numbers. The cx is the scsi bus instance or > controller number, the tx is the SCSI ID or target, and the dx is the > LUN. So, typically the cxtxdx indicates a drive, and the sx is then the > slice or partition on that drive. For all the cases I have had to deal > with, the cxtx uniquely defines the drive. So, I pull out the xx's, put > them in 2 digits per x form, and trim leading 0's to come up with > spindle numbers for my Amanda disklist. > +---------------------------------------------------------------------- |This was sent by [email protected] via Backup Central. |Forward SPAM to [email protected]. +----------------------------------------------------------------------
