Results 1 to 6 of 6

Thread: Can I importvg/access AIX disk from a Ubuntu server?

  1. #1
    Join Date
    Mar 2020
    Beans
    3

    Can I importvg/access AIX disk from a Ubuntu server?

    Hello,
    I have a disk which was on AIX server (SAN disk with VG,LV and FS created and data on the disk). I unattached it from AIX and attached it to Ubuntu 19 server. This is a non-bootdisk. How can I import the volume group and mount filesysytems so that I can access data from my Linux server?
    I do not want to do NFS or Samba for now.


    Thanks
    -Raj

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    19,148
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Can I importvg/access AIX disk from a Ubuntu server?

    Haven't touched AIX in 20 yrs, but i wouldn't assume AIX LVM to be compatible with the F/LOSS LVM. And when i used AIX, the normal FS was JFS. Can't hurt to try, but I'd have very low expectations In It working at all. I wouldn't force anything. Really, the best optIon would be to connect up to the AIX machine, Import the PE/VG and use rsync to move the data.

  3. #3
    Join Date
    Mar 2020
    Beans
    3

    Re: Can I importvg/access AIX disk from a Ubuntu server?

    Thanks for the response The Fu. Tried to importvg and it doesnt throw any output. Also tried to add directly to fstab with jfs and also tried with ext4 but it sayd wrong fs type and bad superblock. And of course cfdsik shows "aix signature on the disk". Looks like only option is to attach it to AIX machine. Thanks again for your inputs.

  4. #4
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    19,148
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Can I importvg/access AIX disk from a Ubuntu server?

    On Linux, the command to scan for LVs is vgchange -ay. That would make the dm-mapper create VG and LV devices.
    After that, you need to see if any where uncovered. The command that I’d use:
    Code:
    lsblk -e 7 -o name,size,type,fstype,mountpoint
    Why would ext4 work on AiX?

    But again, Unix isn't Linux - so i seriously doubt the LVM objects will be recognized.

  5. #5
    Join Date
    Mar 2020
    Beans
    3

    Re: Can I importvg/access AIX disk from a Ubuntu server?

    Tried vgchange -ay but no luck. Was trying all FS types in fstab but yes if it would have worked then it would be JFS and not other fs types.

  6. #6
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Can I importvg/access AIX disk from a Ubuntu server?

    Thread moved to Server Platforms for a better fit

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •