Mounting Solaris UFS partition on Debian(with FreeBSD kernel)
- by hayalci
I have some disks that were being used on a Solaris system. The disks are formatted as UFS.
I attached them to a Debian system (with FreeBSD kernel. Debian/kFreeBSD), but I cannot mount them.
$ mount -t ufs /dev/da2s1 /mnt/diska
mount: /dev/da2s1 : Invalid argument
Also the tunefs.ufs does not work;
$ tunefs.ufs -p /dev/da2s1
tunefs.ufs: /dev/da2s1: could not read superblock to fill out disk
Is there an incompatibility between FreeBSD UFS and Solaris UFS? Is it possible to mount one, under the other OS ?
Note: tunefs.ufs works on the root partition
$ tunefs.ufs -p /dev/da7s2
tunefs.ufs: ACLs: (-a) disabled
tunefs.ufs: MAC multilabel: (-l) disabled
tunefs.ufs: soft updates: (-n) disabled
tunefs.ufs: gjournal: (-J) disabled
tunefs.ufs: maximum blocks per file in a cylinder group: (-e) 2048
tunefs.ufs: average file size: (-f) 16384
tunefs.ufs: average number of files in a directory: (-s) 64
tunefs.ufs: minimum percentage of free space: (-m) 8%
tunefs.ufs: optimization preference: (-o) time
tunefs.ufs: volume label: (-L)