免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3696 | 回复: 4
打印 上一主题 下一主题

如何mount LVM分区? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-06-30 12:52 |只看该作者 |倒序浏览
[root@server ~]# fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x14cb14ca

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          26      204800   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              26      121601   976555201   8e  Linux LVM

Disk /dev/sdb: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xfff56543

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        2827    22707846    c  W95 FAT32 (LBA)
/dev/sdb2            2828        4632    14498662+   f  W95 Ext'd (LBA)
/dev/sdb3            4633        4657      200812+  83  Linux
/dev/sdb4            4658       91201   695164680   8e  Linux LVM
/dev/sdb5            2828        3979     9253408+   7  HPFS/NTFS
/dev/sdb6            3980        4632     5245191    b  W95 FAT32

Disk /dev/dm-0: 997.8 GB, 997875253248 bytes
255 heads, 63 sectors/track, 121318 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 2113 MB, 2113929216 bytes
255 heads, 63 sectors/track, 257 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table
You have mail in /var/spool/mail/root

我现在想把
/dev/sdb4            4658       91201   695164680   8e  Linux LVM
mount到系统中,应该怎么操作?

论坛徽章:
7
天蝎座
日期:2013-08-16 23:19:32丑牛
日期:2014-01-08 09:20:14寅虎
日期:2014-01-11 11:03:44午马
日期:2014-04-28 11:02:40天秤座
日期:2014-05-16 23:24:24摩羯座
日期:2014-07-20 10:46:04卯兔
日期:2014-08-08 15:21:41
2 [报告]
发表于 2009-06-30 16:09 |只看该作者
mount /dev/sdb4 /mnt不行吗

论坛徽章:
0
3 [报告]
发表于 2009-06-30 16:11 |只看该作者
LZ不是想把/dev/sdb4直接挂载到系统中吧?
如果直接挂载到系统中的话,没必要用LVM分区啊,普通分区就可以。

加到/etc/fstab中,要有挂载点啊。

论坛徽章:
0
4 [报告]
发表于 2009-06-30 16:40 |只看该作者
# mount -t ext4 /dev/sdb4 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/sdb4,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

#dmesg | tail
VFS: Can't find ext4 filesystem on dev sdb4.

试了ext2,ext3都无法mount

论坛徽章:
0
5 [报告]
发表于 2009-06-30 16:42 |只看该作者
最近机器换了个硬盘,重装了Fedora,现在想访问旧硬盘上的数据,不知道怎么才能把/dev/sdb4这个分区mount上
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP