Mounting doesn't work:
# mount /engr/worx
mount: 0506-324 Cannot mount /dev/lv09 on /engr/worx: A file or directory in
the path name does not exist.
lspv shows this:
# lspv
hdisk0 0002007800e1b8c4 rootvg
hdisk1 00020078b942dcb3 None
hdisk2 0002007881c3a32a None
hdisk3 000200787316e017 None
Appreciate any pointers toward what I need to do next? Am I right in
thinking that the logical volume table needs to be rebuilt to get the
/dev/lvXX devices created?
I don't have any AIX manuals either :(
--
remove _nospam from email to reply
This doesn't look promising (although I've not had to recover a system like
this so I may be pessimistic). Your hdisk1-3 are not in a volume group
(which is not surprising because you've replaced your boot disk. If they
were all part of the original rootvg volume group I suspect that the data on
them is effectively lost too.
If they were on another volume group or groups you may be able to recover
them with the importvg command, but you would need to kno the original
volume group names.
If the data on these disks isn't important because you have it all backed
up, simply use SMIT to add these disks to rootvg or create other volume
groups and add these disks to them. You can then create the desired logical
volumes and from there create the filesystems. (ie a volume group contains
one or more physical disks, each volume group is divided into one or more
logical volumes, and each logical volume will contain one file system, which
is the thing that you actually mount.)
Without a layout of the original volumes you may have trouble getting this
right. Do you have the output of lsvg, lsvg rootvg, lsvg -l rootvg, df, or
mount? That may be a start...
Regards,
Jeffrey.
No, I don't have the output of any of those things. I do have the
original /etc/filesystems. Also, no, I don't have backups so I'm hoping
to recover the data somehow. I had noticed the importvg command, but
I was afraid to run it before I was sure that was the right thing to do.
Hmmm, so should I report to my boss that the data has been lost?
Thanks for the info, even if it's not what I wanted to hear :)
try importvg hdisk2 (or one of the other disks), you don't need the
name of the original vg, it will be called vg00, check this with lsvg,
next varyon the volume group with varyonvg vg00 (or other name). next
try to mount the filesystems.
rgds, wijnand
Is there any difference between the output of lsvg and lsvg -o? If so,
try varyonvg for the vg's that are not listed in lsvg -o unless you
know that those volume groups belong to another server.
This worked great, I have my files back. Thanks for everyone's help!