日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

linux修改磁盘盘符,debian下修改磁盘阵列盘符

發布時間:2024/10/5 linux 36 豆豆
生活随笔 收集整理的這篇文章主要介紹了 linux修改磁盘盘符,debian下修改磁盘阵列盘符 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

debian下修改磁盤陣列盤符

系統環境debian 64位

raid環境 r410 系統盤sas卡raid 1;md1000 15塊盤raid6 ctrl+c配置方式

接盤柜后盤柜認成sda問題.

修改/etc/modprobe.d/blacklist.conf

加一行blacklist megaraid_sas

cd /boot

mv initrd.img-2.6.30-1-amd64 initrd.img-2.6.30-1-bakamd64

mkinitramfs 2.6.30-1-amd64 -o /boot/initrd.img.-2.6.30-1-amd64

vim /etc/rc.local

cat /etc/rc.local

#!/bin/sh -e

#

# rc.local

#

# This script is executed at the end of each multiuser runlevel.

# Make sure that the script will "exit 0" on success or any other

# value on error.

#

# In order to enable or disable this script just change the execution

# bits.

#

# By default this script does nothing.

modprobe megaraid_sas (加這一行)

exit 0

reboot

fdisk -l

Disk /dev/sda: 299.4 GB, 299439751168 bytes

255 heads, 63 sectors/track, 36404 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Disk identifier: 0x000840cc

Device Boot Start End Blocks Id System

/dev/sda1 1 261 2096451 83 Linux

/dev/sda2 262 36404 290318647+ f W95 Ext'd (LBA)

/dev/sda5 262 522 2096451 82 Linux swap / Solaris

/dev/sda6 523 783 2096451 83 Linux

/dev/sda7 784 1044 2096451 83 Linux

/dev/sda8 1045 1566 4192933+ 83 Linux

/dev/sda9 1567 36404 279836203+ 83 Linux

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

GNU Parted.

Disk /dev/sdb: 7794.1 GB, 7794157682688 bytes

255 heads, 63 sectors/track, 947585 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Disk identifier: 0x00000000

Device Boot Start End Blocks Id System

/dev/sdb1 1 267350 2147483647+ ee EFI

?著作權歸作者所有:來自51CTO博客作者Edwin_的原創作品,如需轉載,請注明出處,否則將追究法律責任

總結

以上是生活随笔為你收集整理的linux修改磁盘盘符,debian下修改磁盘阵列盘符的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。