Debian(FreeBSD 커널 사용)에 Solaris UFS 파티션 마운트

Debian(FreeBSD 커널 사용)에 Solaris UFS 파티션 마운트

Solaris 시스템에서 사용되던 디스크가 몇 개 있습니다. 디스크는 UFS로 포맷됩니다. Debian 시스템(FreeBSD 커널. Debian/kFreeBSD 사용)에 연결했지만 마운트할 수 없습니다.

$ mount -t ufs /dev/da2s1 /mnt/diska
mount: /dev/da2s1 : Invalid argument

또한 tunefs.ufs도 작동하지 않습니다.

$ tunefs.ufs -p /dev/da2s1
tunefs.ufs: /dev/da2s1: could not read superblock to fill out disk

FreeBSD UFS와 Solaris UFS 사이에 비호환성이 있습니까? 다른 OS 아래에 하나를 마운트할 수 있습니까?

메모: tunefs.ufs는 루트 파티션에서 작동합니다.

$ 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) 

답변1

FreeBSD UFS2와 Solaris UFS는 원래 구조를 공유하는 동안 다소 차이가 나기 때문에 freeBSD가 이를 마운트할 수 있을지 확신할 수 없습니다. UFS 파일 시스템이 올바르게 마운트 해제되었습니까?

편집: 또한 파일 시스템이 SPARC 하드웨어에서 생성된 경우 형식이 아키텍처에 따라 다르므로 x86에 마운트할 수 없습니다.

답변2

마운트 해제하지 않고 솔라리스 시스템을 정지했습니까?

내가 아는 한, 깔끔하게 마운트 해제된 Solaris UFS를 안전하게 마운트할 수 있습니다. 그렇지 않으면 실제로는 레이아웃 호환성 문제입니다. 나는 최신 GNU/Linux 커널에서도 동일한 작업을 수행하려고 합니다.

관련 정보