首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >3 3ware 97504i -磁盘映射/UUID在重新启动时更改

3 3ware 97504i -磁盘映射/UUID在重新启动时更改
EN

Server Fault用户
提问于 2014-11-21 23:25:25
回答 1查看 399关注 0票数 2

我有一个3ware 9750-4i与36个驱动器运行(4个在RAID 10,休息个别驱动器,即JBOD)。

当我重新启动时,除了RAID 10数组之外,所有驱动器在重新启动时都会更改它们的UUID(这似乎是随机的,因为我已经重启了几次,每次都是完全不同的UUID)。这使我手动遍历32个驱动器,找出它真正应该被映射到哪里,并重新挂载到那里。

我在网上还没有发现任何与这个问题有关的东西,而且总的来说我对RAID卡很陌生。是不是有什么设置我可能丢失了?或者是因为我的内核造成了这种情况(同样,我对内核也不太了解)

编辑:运行Debian 7.6 64位。

注意,我已经将输出限制在最初的几个驱动器上,因为它们都是相同的。

fdisk -l

代码语言:javascript
复制
root@server:~# fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 8000.0 GB, 7999978471424 bytes
255 heads, 63 sectors/track, 972608 cylinders, total 15624957952 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1  4294967295  2147483647+  ee  GPT

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 4000.0 GB, 3999989235712 bytes
255 heads, 63 sectors/track, 486304 cylinders, total 7812478976 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1  4294967295  2147483647+  ee  GPT

WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdc: 4000.0 GB, 3999989235712 bytes
255 heads, 63 sectors/track, 486304 cylinders, total 7812478976 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1  4294967295  2147483647+  ee  GPT

WARNING: GPT (GUID Partition Table) detected on '/dev/sdd'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdd: 4000.0 GB, 3999989235712 bytes
255 heads, 63 sectors/track, 486304 cylinders, total 7812478976 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1  4294967295  2147483647+  ee  GPT

WARNING: GPT (GUID Partition Table) detected on '/dev/sde'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sde: 4000.0 GB, 3999989235712 bytes
255 heads, 63 sectors/track, 486304 cylinders, total 7812478976 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1               1  4294967295  2147483647+  ee  GPT

WARNING: GPT (GUID Partition Table) detected on '/dev/sdf'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdf: 4000.0 GB, 3999989235712 bytes
255 heads, 63 sectors/track, 486304 cylinders, total 7812478976 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdf1               1  4294967295  2147483647+  ee  GPT

WARNING: GPT (GUID Partition Table) detected on '/dev/sdh'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdh: 4000.0 GB, 3999989235712 bytes
255 heads, 63 sectors/track, 486304 cylinders, total 7812478976 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdh1               1  4294967295  2147483647+  ee  GPT

WARNING: GPT (GUID Partition Table) detected on '/dev/sdi'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdi: 4000.0 GB, 3999989235712 bytes
255 heads, 63 sectors/track, 486304 cylinders, total 7812478976 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdi1               1  4294967295  2147483647+  ee  GPT

和df -h

代码语言:javascript
复制
Filesystem                                              Size  Used Avail Use% Mounted on
rootfs                                                   37G   11G   24G  32% /
udev                                                     10M     0   10M   0% /dev
tmpfs                                                    13G  167M   13G   2% /run
/dev/disk/by-uuid/<uuid>   37G   11G   24G  32% /
tmpfs                                                   5.0M     0  5.0M   0% /run/lock
tmpfs                                                    26G  528K   26G   1% /run/shm
/dev/sda2                                               7.2T  695G  6.2T  10% /mount/sda
/dev/sdaf1                                              7.3T  1.7T  5.3T  24% /mount/sdaf
cgroup                                                   64G     0   64G   0% /sys/fs/cgroup
/dev/sdc1                                               3.6T  1.2T  2.3T  35% /mount/sdc
/dev/sdd1                                               3.6T  1.6T  1.9T  46% /mount/sdd
/dev/sde1                                               3.6T  1.5T  2.0T  44% /mount/sde
/dev/sdh1                                               3.6T  2.0T  1.5T  59% /mount/sdh

/etc/fstab

代码语言:javascript
复制
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb1 during installation
UUID=016efca3-ff51-4c3f-8fb4-6374e732168f /               ext4    errors=remount-ro 0       1
UUID=b79fed8c-a61d-4b19-a5b6-6bb4ec7c60e5 /mount/sda ext4    noatime,usrquota,nodiratime,data=writeback,commit=120,nobh,barrier=0 0       2
UUID=e82eefed-1017-471f-b243-90f812804d66 /mount/sdz ext4    noatime,usrquota,nodiratime,data=writeback,commit=120,nobh,barrier=0 0       2
UUID=472c2b9c-ea28-40e2-a87f-872139c1efaa /mount/sdb ext4    noatime,usrquota,nodiratime,data=writeback,commit=120,nobh,barrier=0 0       2
UUID=fd0d963b-79d8-489e-8ce4-11bc4bf947af /mount/sdc ext4    noatime,usrquota,nodiratime,data=writeback,commit=120,nobh,barrier=0 0       2
UUID=fd5ddc4b-1cd4-4c39-828e-47c459f7c029 /mount/sdd ext4    noatime,usrquota,nodiratime,data=writeback,commit=120,nobh,barrier=0 0       2
UUID=71642e4f-dc44-4895-aebb-a9130cc88cbb /mount/sde ext4    noatime,usrquota,nodiratime,data=writeback,commit=120,nobh,barrier=0 0       2
UUID=cf9fd919-6f7c-4be5-a1d1-766aef130878 /mount/sdf ext4    noatime,usrquota,nodiratime,data=writeback,commit=120,nobh,barrier=0 0       2
EN

回答 1

Server Fault用户

发布于 2014-11-22 12:30:41

为了解决这个问题,您可以使用LVM/labels来挂载驱动器,而不是它们的名称。这不是解决原来问题的办法,但我希望这能消除后果。

票数 1
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/646213

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档