View Single Post
  #2  
Old 05-17-2005, 02:55 PM
Jeffrey Ross
Guest
 
Posts: n/a
Default Re: Logical Volume devices missing?

"Wes Gray" <linuxwes_nospam@yahoo.com> wrote in message
news:slrnd8igar.fk9.linuxwes_nospam@news.easynews. com...
> On our RS/6000 system with AIX 3.4 and 4 physical drives we had the boot

disk
> die. We replaced it and restored the system info from backups. The

backups
> were a bit old, but I don't think anything much had changed. It boots up

fine
> now, but it can't mount any of filesystems on the other 3 drives. For the
> ones that don't mount in /etc/filesystems they all point to devices that
> don't exist and I guess are logical volume devices because they look like
> /dev/lvXX. I don't know AIX very well, I'm primarily a Linux guy.
>
> 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 :(
>


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.


Reply With Quote