Forum Discussion

RaulGomez's avatar
RaulGomez
Level 3
10 years ago

Trouble converting FileSystem metadata with fscdsconv in Linux

Hello everyone, I'm in the process of migrating a Solaris 5.10 server to Linux Red Hat 6.4  At this point, I'm trying to convert the byte order of some volumes that come from Solaris in my Linu...
  • mikebounds's avatar
    10 years ago

    Looking at the man page, it reads as you need to either run:

    fscdsconv -e (for export) on the Solaris system

    or

    fscdsconv -i (for import) on the Linux system

     

    So can you confirm you ran your command in your post above on the Solaris system and if you did and this has failed, have you tried running the import on the Linux system instead?

    Mike

  • mikebounds's avatar
    10 years ago

    If your Solaris server crashed, then at a diskgroup level, the diskgroup contains the hostname of the crashed server so you have to clear this using the "-C" flag to import the diskgroup.

    This is completley independent of the filesystems - if your Solaris server crashed, then the filesystem were not cleanly umounted and therefore the filesystems need to have an fsck to clean up the filesystem, but you can't run an fsck because fsck command does not understand the byte order on Linux

    To the fscdsconv import you need to do on a clean filesystem, which you don't have so the only option I can see is to import the diskgroup on any Solaris SPARC (or other systems using the same Endian, such as AIX or HP-ux) that has SF installed so that you run fsck on the vxfs filesystems.

    Mike