我遇到这个奇怪的错误,试图挂载UFS分区。
sudo mount -r -t ufs -o ufstype=ufs2 /dev/sdb2 /home/tim/ufs_mount
mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so我是Ubuntu的新手,刚从FreeNAS转过来。
tim@T3:~$ sudo fdisk -l
Disk /dev/sda: 400.1 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders, total 781422768 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a77a6
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 765700095 382849024 83 Linux
/dev/sda2 765702142 781422591 7860225 5 Extended
/dev/sda5 765702144 781422591 7860224 82 Linux swap / Solaris
Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x90909090
Device Boot Start End Blocks Id System
/dev/sdb1 * 63 240974 120456 a5 FreeBSD
/dev/sdb2 240975 2928601304 1464180165 a5 FreeBSD
/dev/sdb3 2928601305 2930272064 835380 a5 FreeBSD发布于 2011-12-05 16:06:13
UFS文件系统有多种类型,其中许多类型得到Linux的支持,但是很难自动检测需要挂载哪种类型的UFS,这就是为什么需要将ufstype=参数添加到挂载命令中。
可能的常见类型有:
old旧格式default值,作为只读支持。44bsd用于FreeBSD,NetBSD,OpenBSDufs2在FreeBSD 5.x中的应用5xbsd同义词ufs2sun用于SunOS (Solaris)sunx86在英特尔SunOS (Solarisx86)中的应用hp在HP-UX中的应用nextstep在NextStep中的应用nextstep-cd用于NextStep光盘(block_size == 2048)openstep在OpenStep中的应用由于您是从FreeNAS开始的,并且是基于FreeBSD的,所以建议您在ufstype=参数中尝试使用ufs2或44bsd。
在Linux内核文档中有更多的信息。
发布于 2011-12-05 11:46:01
几天前,我们有同样的经验,我得到了相同的错误,但是在我在挂载目标目录中检查它之后,它挂载了ufs,甚至挂载命令中也有一个错误。
即使安装时出现错误,也请检查挂载目标是否已安装。
https://askubuntu.com/questions/85189
复制相似问题