centos开机自动挂载磁盘_CentOS6.5开机自动挂载硬盘

企业级应用系统的建设,

通常将系统和数据分别存储,

并建立

raid

新装的

CentOS6.5

需要挂载数据盘,并且能够系统启动自动挂载该数据盘。

1

、手动挂载磁盘

查看磁盘分区信息,执行

fdisk

命令

[root@tsp-rls-webservice tsp]# fdisk -l

Disk /dev/sdb: 1476.5 GB, 1476529225728 bytes

255 heads, 63 sectors/track, 179511 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x0008a3a1

Device Boot

Start

End

Blocks

Id

System

/dev/sdb1

1

179512

1441922048

83

Linux

Disk /dev/sda: 322.1 GB, 322122547200 bytes

255 heads, 63 sectors/track, 39162 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x6a5b51c5

Device Boot

Start

End

Blocks

Id

System

/dev/sda1

*

1

64

512000

83

Linux

Partition 1 does not end on cylinder boundary.

/dev/sda2

64

39163

314059776

8e

Linux LVM

Disk /dev/mapper/vg_tsprlswebserv-lv_root: 53.7 GB, 53687091200 bytes

255 heads, 63 sectors/track, 6527 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000

Disk /dev/mapper/vg_tsprlswebserv-lv_swap: 16.8 GB, 16814964736 bytes

255 heads, 63 sectors/track, 2044 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值