Differences between revisions 1 and 7 (spanning 6 versions)
Revision 1 as of 2013-07-26 07:31:02
Size: 655
Editor: frank
Comment:
Revision 7 as of 2014-04-24 23:01:42
Size: 1027
Editor: frank
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
==== Partition UUID and Label === ## page was renamed from LinuxDisk
==== Partition UUID and Label ====
Line 13: Line 14:
 * More about UUID, WWID
 {{{
# ll /dev/disk/by-id
# ll /dev/disk/by-uuid
# ll /dev/disk/by-path

# WWID
# scsi_id -g -u -s /block/sda #for udev-095(OL5)
# scsi_id -g -u -d /dev/sda # for udev-147(OL6)
}}}
Line 21: Line 33:


==== I/O Performance Test ====
Throughput
{{{
# dd if=/dev/zero of=/dev/sda2 bs=1G count=1 oflag=direct
}}}

Partition UUID and Label

  • Get UUID and Label
    # blkid
    /dev/sda1: SEC_TYPE="msdos" UUID="62AC-64E2" TYPE="vfat"
    /dev/sda2: UUID="ebc16f0e-586d-466e-aba5-321016b401e9" TYPE="ext4"
    /dev/sda3: UUID="9bb04b5a-e6c8-48ae-b802-4084f3943945" TYPE="xfs"
    /dev/sda4: UUID="439969cb-2311-40e9-b1bc-6ede1bd185ef" TYPE="swap"
    /dev/sdc1: UUID="6450978C50976398" TYPE="ntfs"
    /dev/sdc2: UUID="fc5d0b9e-6092-410d-b000-c567be2eb940" TYPE="ext4"
    /dev/sdb1: UUID="665d6352-b050-4702-b4f0-c6242c785127" TYPE="xfs"
  • More about UUID, WWID
    # ll /dev/disk/by-id
    # ll /dev/disk/by-uuid
    # ll /dev/disk/by-path
    
    # WWID
    # scsi_id -g -u -s /block/sda #for udev-095(OL5)
    # scsi_id -g -u -d /dev/sda # for udev-147(OL6)
  • Change Label
    //ext2, ext3, ext4
    # e2label <device> <label name>
    //ocfs2
    # tunefs.ocfs2 -L <label name> <device>

I/O Performance Test

Throughput

# dd if=/dev/zero of=/dev/sda2 bs=1G count=1 oflag=direct

Tech/LinuxDisk (last edited 2016-03-10 23:34:59 by frank)