大容量磁盘(>2TB)挂载(基于lvm)

这篇博客详细记录了如何挂载大于2TB的大容量磁盘,通过Linux的LVM(逻辑卷管理)进行操作。内容包括磁盘的详细信息、创建和配置LVM卷组、创建逻辑卷以及格式化为ext3文件系统的过程,最后提到了挂载操作的完成。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

[root@dsgserver mapper]# fdisk -l

Disk /dev/mapper/mpathd: 10737.4 GB, 10737418240000 bytes
255 heads, 63 sectors/track, 1305416 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 524288 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/mpathe: 10737.4 GB, 10737418240000 bytes
255 heads, 63 sectors/track, 1305416 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 524288 bytes
Disk identifier: 0x00000000

[root@dsgserver mapper]# multipath -ll

mpathe (3600b342c404aa4ed67ced86e6d0000d1) dm-10 MacroSAN,LU
size=9.8T features=‘1 queue_if_no_path’ hwhandler=‘0’ wp=rw
|-± policy=‘round-robin 0’ prio=50 status=active
| - 2:0:0:3 sdm 8:192 active ready running-± policy=‘round-robin 0’ prio=10 status=enabled
|- 1:0:0:3 sdk 8:160 active ready running
- 2:0:1:3 sdo 8:224 active ready running mpathd (3600b342fc141116d5d24dd8bcd0000d1) dm-9 MacroSAN,LU size=9.8T features='1 queue_if_no_path' hwhandler='0' wp=rw |-+- policy='round-robin 0' prio=50 status=active |- 2:0:0:4 sdn 8:208 active ready running
-+- policy='round-robin 0' prio=10 status=enabled |- 1:0:0:4 sdl 8:176 active ready running- 2:0:1:4 sdp 8:240 active ready running

[root@dsgserver mapper]# parted /dev/mapper/mpathe

GNU Parted 2.1
Using /dev/mapper/mpathe
Welcome to GNU Parted! Type ‘help’ to view a list of commands.

(parted) mklabel gpt                                                      
(parted) p 

Model: Linux device-mapper (multipath) (dm)
Disk /dev/mapper/mpathe: 10.7TB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags

(parted) mkpart primary 0 10TB

Warning: The resulting partition is not properly aligned for best performance.
Ignor

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值