Skip to content

Commit

Permalink
use stable device name: /dev/disk/by-path/
Browse files Browse the repository at this point in the history
  • Loading branch information
Wu Fengguang committed Jan 7, 2012
1 parent 2c8f023 commit 01a3cf2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions snb-config.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
DEVICES="/dev/sda7"
DEVICES="/dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1"
DEVICES="
$(readlink -f /dev/disk/by-path/pci-0000:03:00.0-sas-0x5fcfffff00000002-lun-0-part1)
$(readlink -f /dev/disk/by-path/pci-0000:03:00.0-sas-0x5fcfffff00000003-lun-0-part1)
$(readlink -f /dev/disk/by-path/pci-0000:03:00.0-sas-0x5fcfffff00000004-lun-0-part1)
$(readlink -f /dev/disk/by-path/pci-0000:03:00.0-sas-0x5fcfffff00000005-lun-0-part1)
"

FILESYSTEMS="nfs"
FILESYSTEMS="xfs ext4 ext3 btrfs"
Expand Down

0 comments on commit 01a3cf2

Please sign in to comment.