在Linux上安装HPUX LVM + VXFS文件系统的问题

我有一个HPUX系统的物理磁盘,我需要从Debian Linux访问ia64系统。 在hpux-lvm-tools项目中,我有用于访问HPUX LVM的工具(Linux LVM具有不同的格式),我也有freevxfs驱动程序。

我事先知道磁盘有三个分区,最大的一个包含LVM卷,其中一些是VxFS文件系统

我可以看到分区:

# cat /proc/partitions major minor #blocks name 8 32 143374744 sdc 8 33 512000 sdc1 8 34 142452736 sdc2 8 35 409600 sdc3 

它在其中一个磁盘分区中find一个VG:

 # ./vgscan_hpux On /dev/sdc2 - vg1328874723 # ./pvdisplay_hpux /dev/sdc2 PV General Information ---------------------- VG Creation Time Fri Feb 10 12:52:03 2012 Physical Volume ID 1766760336 1328874723 Volume Group ID 1766760336 1328874723 Physical Volumes in VG 1766760336 1328874723 VG Actication Mode 0 - LOCAL PE Size 64 MBs Lvol sizes ---------- lvol1 - 8 Extents - 512 MBs lvol2 - 192 Extents - 12288 MBs lvol3 - 16 Extents - 1024 MBs ... lvol21 - 13 Extents - 832 MBs lvol22 - 224 Extents - 14336 MBs lvol23 - 16 Extents - 1024 MBs 

然后我激活VG和一些新的设备出现在我的系统中:

 # ./pvactivate_hpux /dev/sdc2 VG vg1328874723 Activated succesfully with 23 lvols. # # ll /dev/mapper/ total 0 crw------- 1 root root 10, 59 Nov 26 16:08 control lrwxrwxrwx 1 root root 7 Nov 26 16:38 vg1328874723-lvol1 -> ../dm-0 lrwxrwxrwx 1 root root 7 Nov 26 16:38 vg1328874723-lvol10 -> ../dm-9 ... lrwxrwxrwx 1 root root 7 Nov 26 16:38 vg1328874723-lvol8 -> ../dm-7 lrwxrwxrwx 1 root root 7 Nov 26 16:38 vg1328874723-lvol9 -> ../dm-8 

但:

 # mount /dev/mapper/vg1328874723-lvol18 /mnt/tmp mount: you must specify the filesystem type # mount -t vxfs /dev/mapper/vg1328874723-lvol18 /mnt/tmp mount: wrong fs type, bad option, bad superblock on /dev/mapper/vg1328874723-lvol18, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so # lsmod |grep vxfs freevxfs 23905 0 

我也尝试使用file命令来识别原始数据,它只是说'数据':

 # file -s /dev/mapper/vg1328874723-lvol18 /dev/mapper/vg1328874723-lvol18: symbolic link to `../dm-17' # file -s /dev/dm-17 /dev/dm-17: data # 

任何线索?

在项目页面中,不会告诉任何有关VxFS支持的布局。

所以我build议你首先检查你的HPUX VxFS布局

 fstyp -v /dev/vg00/lvol3 | grep -i version 

然后检查您的VxFS布局版本是否受hpux-lvm-tools支持。

PS1:分区1:操作系统的EFI,分区2 PV,分区3可能包含支持实用程序。 PS2:我看不到链接发布这个评论而不是答案。