Re: Missing link in /dev/<domain>?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alasdair,

Quick follow-up.  I said below that vgmknodes is correctly recreating
my link, but actually the symbolic link it is creating is pointing to
the non-working enty /dev/mapper/my-domain-data, not the working
-data-real entry.

Greg
On 8/11/06, Greg Freemyer <greg.freemyer@gmail.com> wrote:
On 8/11/06, Alasdair G Kergon <agk@redhat.com> wrote:
> On Fri, Aug 11, 2006 at 01:59:35PM -0400, Greg Freemyer wrote:
> > my-domain-data
> > my-domain-data-real
>
> > The unexpected entry is the -data-real one.
>
> Did you try anything with snapshots?
>
Yes, I routinely perform a snapshot everynight via cron.  No idea if a
snapshot existed when the machine went down.

> See what vgmknodes does.
>
I renamed the manually created link from data to data.tmp, then ran vgmknodes.

The data link was successfully recreated.

> Post the output of dmsetup info -c and lvs -va.
>
# dmsetup info -c
Name             Maj Min Stat Open Targ Event  UUID
TruStore--Data-data-real 253   2 L--w    1    1      0
LVM-mMDI3Wi6Av0TlwI4D905RvPDfWM3rNlBxxpvaosSsuQnSubLnpkprJIBEdn1VHiV-real
TruStore--Data-home 253   0 L--w    1    1      0
LVM-mMDI3Wi6Av0TlwI4D905RvPDfWM3rNlBHU7HFSYOTsxTwH6Pg1c4k0UQOK7O4j6X
TruStore--Data-data 253   3 ---w    0    0      0
LVM-mMDI3Wi6Av0TlwI4D905RvPDfWM3rNlBxxpvaosSsuQnSubLnpkprJIBEdn1VHiV
TruStore--Data-config 253   1 L--w    1    1      0
LVM-mMDI3Wi6Av0TlwI4D905RvPDfWM3rNlBG5XBMCNoneiIFa16MFUHMmmhPgvEF3da

# lvs -va
File descriptor 4 left open
    Finding all logical volumes
  LV        VG            #Seg Attr   LSize  Maj Min KMaj KMin Origin
Snap%  Move Copy%  Log LV UUID
  config    TruStore-Data    1 -wi-ao  1.00G  -1  -1 253  1
                      G5XBMC-None-iIFa-16MF-UHMm-mhPg-vEF3da
  data      TruStore-Data    1 owi-d- 63.00G  -1  -1 253  3
                      xxpvao-sSsu-QnSu-bLnp-kprJ-IBEd-n1VHiV
  data_snap TruStore-Data    1 swi--- 45.00G  -1  -1 -1   -1   data
                      m4ZSZG-ba0q-Fgco-sYcy-e0DJ-V3SI-Bb0r6C
  home      TruStore-Data    1 -wi-ao 10.00G  -1  -1 253  0
                      HU7HFS-YOTs-xTwH-6Pg1-c4k0-UQOK-7O4j6X

Hopefully that is not too badly word wrapped.

> Alasdair
> --
> agk@redhat.com

Thanks
Greg
--
Greg Freemyer
The Norcross Group
Forensics for the 21st Century



--
Greg Freemyer
The Norcross Group
Forensics for the 21st Century

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux