伺服器硬碟怎麼放置
『壹』 IBM x3650 伺服器添加硬碟怎樣做
ibm x3650伺服器使用8k,8k-l陣列卡,在已有陣列配置的情況下,如果確定要添加的硬碟沒有數據或配置信息,可以直接插入,在卡的核心界面配置陣列即可。
如果要添加的硬碟有數據或配置信息,或者不確定,請嚴格按以下操作說明來添加,以防止現有的陣列崩潰,數據丟失。
在安裝新硬碟之前,要按照下面的方法對其進行搏派蠢初始化:
1、關閉伺服器的電源;
2、拔掉伺服器上所有現有的硬碟;
3、插入這個新的硬碟;
4、啟動伺服器;
5、在加電自檢過程中,在看到Adaptec SAS RAID BIOS檢測並提示如下信息時按Ctrl-A:
Press <Ctrl><A> for IBM ServeRAID
Configuration Utility!
Booting the Controller Kernel....../
6、在IBM ServeRAID Configuration Utility Options選項窗口中,選擇"Array Configuration Utility";
7、在Main Menu主菜單中,選擇"Initialize Drives"並按Enter;
8、按空格鍵來選擇需要被初始化的硬碟,這些硬碟將會從左邊的窗口移動到右邊的窗口中,然後按Enter;
9、當出現警告提示時按Y;
10、預計每塊硬碟需要用5-10秒來進行初始化,當所有的硬碟都初始化完成後,羨爛Main Menu主菜單將會顯示出來;
11、按Escape退出IBM ServeRAID Configuration Utility界面;
系統重新啟動;
12、在加電自檢的開始,當看到IBM Logo標志顯示時,關閉伺服器;
13、重新安裝上以前移走的硬碟;
14、那個新的硬碟可以隨後安裝或以後再安裝;
15、啟動伺服器;
16、在顯示Adaptec SAS RAID BIOS的界面時,將會看到下列信息:
New devices detected at the following SAS Phys: (listing
of reinserted devices)
17、按Enter回車接受當前的陣列配置。
說明:
當一塊硬碟作為陣列基陪的一部分後,每塊硬碟都要被寫上陣列配置信息的元數據。如果一塊帶有元數據的硬碟被安裝到一個現有的陣列中,這個現有的陣列上的元數據就會被破壞並且這個陣列將會變得無法被系統使用。
在把一塊硬碟插入到一個現有的陣列之前,一定要確認通過上述的初始化的步驟把所有的以前存在的元數據都要從這塊硬碟上清除掉。
『貳』 伺服器硬碟怎麼分區 伺服器硬碟分區的方法
1、右鍵我的電腦——管理——磁碟管理 (以下是已經分好的磁碟,如果需要更改容量,需要確認磁碟無文件,否則將導致所有數據丟失,C盤為系統盤一般默認不要動磁碟文件以及容量)。
2、磁碟已分配的情況下,需要首先刪除原分配的磁碟,右鍵刪除——磁碟分區。
3、刪除完後,所有容量會自動合並,右鍵——添加磁碟分區 進入分區向導。
4、選擇——主磁碟分區。
5、選擇想分配的磁碟大小( 1G=1024M )。
6、選擇磁碟符號——默認按照C(系統盤)、D、E 依次排列。
7、勾選——執行快速格式化。
8、點擊完成即可,如果想多分些磁碟按此操作,計算好總容量即可。
『叄』 linux系統伺服器怎麼加硬碟
我們可以這個在系統載入,難度不大。但是此過程大概要20分鍾左右,因為需要同時伺服器服務要停止。
在 Linux 下設備文件放在 /dev 目錄下。
IDE 硬碟 第一塊 /dev/hda 、第二塊硬碟 /dev/hdb 、第三塊 /dev/hdc.
SCSI 硬碟 第一塊 /dev/sda 、第二塊硬碟 /dev/sdb 、第三塊 /dev/sdc
Hp raid or cpq array ( 這一點要注意 ).
第一個 logic driver /dev/cciss/c0d0
第二個 logic driver /dev/cciss/c0d1
以添加 SCSI 硬碟為例:
[root@linux /]# fdisk /dev/sdb 用 fdisk 工具來創建新的分區
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won"t be recoverable.
The number of cylinders for this disk is set to 17366.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): m 顯示主菜單
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition"s system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)
Command (m for help): n 創建新分區
Command action
e extended 擴展的分區
p primary partition (1-4) 主分區
p 創建主分區
Partition number (1-4): 1
First cylinder (1-17366, default 1): 1
Last cylinder or +size or +sizeM or +sizeK (1-17366, default 17366): +10000M 選擇分區大小
Command (m for help): w 保存退出
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
[root@linux /]# mkfs -t ext3 /dev/sdb1 將我創建的第一個分區 sdb1 格式化
mke2fs 1.27 ( 8-Mar-2002 )
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
1281696 inodes, 2560252 blocks
128012 blocks (5.00%) reserved for the super user
First data block=0
79 block groups
32768 blocks per group, 32768 fragments per group
16224 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 21 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
[root@linux /]# mkdir /new 創建一個根目錄
[root@linux /]# mount /dev/sdb1 /new 將 sdb1 分區 mount to /new
[root@linux /]# fdisk -l 查看分區信息
Disk /dev/sda: 64 heads, 32 sectors, 17366 cylinders
Units = cylinders of 2048 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 100 102384 83 Linux
/dev/sda2 101 12100 12288000 83 Linux
/dev/sda3 12101 16100 4096000 83 Linux
/dev/sda4 16101 17366 1296384 f Win95 Ext"d (LBA)
/dev/sda5 16101 16866 784368 82 Linux swap
/dev/sda6 16867 17366 511984 83 Linux
Disk /dev/sdb: 64 heads, 32 sectors, 17366 cylinders
Units = cylinders of 2048 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 10001 10241008 83 Linux
[root@linux /]# df 查看分區信息
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 12095032 2919684 8560948 26% /
/dev/sda1 99134 17861 76154 19% /boot
/dev/sda3 4031680 32968 3793912 1% /home
none 127688 0 127688 0% /dev/shm
/dev/sda6 495828 153957 316272 33% /var
/dev/sdb1 10080092 32828 9535216 1% /new
[root@linux /]#
『肆』 linux系統伺服器怎麼加硬碟
一.Linux的硬碟識別
2.6
kernel以後,linux會將識別到的硬體設備,在/dev/下建立相應的設備文件.如:
sda
表示第1塊SCSI硬碟.
hda
表示第1塊IDE硬碟(即連接在第1個IDE介面的Master口上).
當添加了新硬碟後,在/dev目錄下會有相應的設備文件產生.cciss的硬碟是個例外,它的
設備文件在/dev/cciss/目錄下.一般使用」fdisk
-l」命令可以列出系統中當前連接的硬碟
設備和分區信息.新硬碟沒有分區信息,則只顯示硬碟大小信息.
二.在linux系統中添加新硬碟
下面說明一下,添加一塊10G硬碟到第一個IDE口的Slave介面上.
安裝好硬碟後,開機root身份登錄.
執行fdisk
-l命令顯示當前系統的硬碟設備.
#
fdisk
-l
Disk
/dev/hdb:
10.7
GB,
10737418240
bytes
255
heads,
63
sectors/track,
1305
cylinders
Units
=
cylinders
of
16065
*
512
=
8225280
bytes
Disk
/dev/hdb
doesn't
contain
a
valid
partition
table
顯示hdb沒有分區信息,大小為10G.
使用fdisk命令對hdb進行分區.
#
fdisk
/dev/hdb
Warning:
invalid
flag
0x0000
of
partition
table
4
will
be
corrected
by
w(rite)
輸入:
n
表示新建分區.
Command
(m
for
help):
n
Command
action
e
extended
p
primary
partition
(1-4)
輸入:
p
表示建立一個原始分區.
p
Partition
number
(1-4):
1
輸入:
1
表示此分區編號為1.
First
cylinder
(1-1305,
default
1):
輸入:
回車
表示使用默認起始柱面號.如果要分多個區的話,先盤算好要多大,再輸入數字
Using
default
value
1
Last
cylinder
or
+size
or
+sizeM
or
+sizeK
(1-1305,
default
1305):
輸入:
回車
表示使用默認結束柱面號.即此分區使用整個硬碟空間.
Using
default
value
1305
Command
(m
for
help):
w
輸入:
w
存檔,退出fdisk.
再使用fdisk
-l命令查看分區情況.
#
fdisk
-l
Disk
/dev/hdb:
10.7
GB,
10737418240
bytes
255
heads,
63
sectors/track,
1305
cylinders
Units
=
cylinders
of
16065
*
512
=
8225280
bytes
Device
Boot
Start
End
Blocks
Id
System
/dev/hdb1
1
1305
10482381
83
Linux
顯示/dev/hdb上有一個hdb1分區,為linux格式.
分區後,需要對這個分區進行格式化.
#
mkfs.ext3
/dev/hdb1
將新建分區掛在到/mnt/hdb1上.
(掛載點設成自己的)
#
mkdir
/mnt/hdb1
#
mount
/dev/hdb1
/mnt/hdb1
三.設置新硬碟開機自動掛載
在/etc/fstab中添加新硬碟的掛載信息.添加下面一行:
/dev/hdb1
/mnt/hdb1
ext3
defaults
1
2(如果還有一個分區就是1
3,以此類推)
這樣,每次開機後,系統會自動將/dev/hdb1掛載到/mnt/hdb1上.
『伍』 伺服器怎麼安裝固態硬碟,DELL 2950
一般伺服器上標配的卡槽是2.5寸或者3.5寸的。
固態的硬碟一般是1.8寸的,那個要使用專用的托架和擴展槽。
固定好之後,將硬碟的介面接到伺服器的電源和主板上就可以了。