『壹』 如何在HP服务器上增加新的硬盘
目前HP服务器的背板是支持热插拔的,也就是说你可以在服务器运行的时候将硬盘插入服务器背板(插硬盘的接口),可以避免服务器关闭导致不必要的损失
要增加硬盘首先要了解你的服务器背板当前支持的硬盘接口类型,有的背板支持SATA接口的硬盘确不支持SAS接口的硬盘,但是支持SAS接口的背板肯定支持SATA接口的硬盘,遵循向下兼容的原则;还有就是当前连接背板的Storage congtroller支持什么接口的硬盘,同样遵循向下兼容的原则
增加硬盘还要取决于你当前RAID的级别
『贰』 八、磁盘分区和挂载
主要知识点: 基本分区、逻辑卷LVM、EXT3/4/XFS文件系统、RAID
1.1.初识硬盘
SSD的优势
与传统硬盘相比,SSD固态电子盘具有以下优点:
硬盘尺寸
从插拔方式
从硬盘接口
IDE和SATA的区别:
SAS与SCSI的区别
硬盘设备命名
HP服务器硬盘
从存储连接方式
1.2从分区方式区分
首先需要先给虚拟机添加磁盘
磁盘的命名规则上面有介绍
1.1.fdisk
创建分区:
1.2 gdisk
创建分区:
2.创建文件系统(格式化)centos7默认使用xfs
注意:这里一定要明确指定分区sdb1,或者sdb2,不能选择整块磁盘
3.挂载mount(临时挂载)
取消挂载
3.1./etc/fstab文件实现自动挂载
查看磁盘挂载与磁盘使用空间
3.2/etc/rc.drc.local开机自动挂载
1.1分类
1.2概念
1.3.EXT
1.4.XFS
『叁』 请问服务器如何连接存储设备
最好的做法就是安装HBA卡,然后光纤跳线。
『肆』 怎么远程连接服务器与如何将本地磁盘挂载到到服务器上
1 打开【开始】里的【附件】-【远程桌面连接】。
2 点击【选项】选择【本地资源】选项卡。
3 点击【详细信息】展开将会看到驱动器的多选框。
4 选择你需要勾选的驱动器,点击【确定】,然后选择【常规】在计算机一栏中输入你想要远程的主机IP地址。
5 点击【连接】讲出现一个提示框如下图所示,显示可以操作本地资源,请注意安全,继续点击【连接】。
6 现在远程成功后就可以操作本地磁盘里的文件。
『伍』 有谁用过HP StorageWorks p2000的san存储设备么请教一下如何挂载SAN的逻辑卷
服务器上需要安装iSCSI initiator的发起端,安装后才能产生IQN,存储端重启下会自动发现主机IQN(服务器和存储联网状态),绑定就OK了.服务器的iSCSI initiator也需要设置.去或google下载iSCSI initiator和使用说明吧.
『陆』 HP服务器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 /]#