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

Re: [linux-lvm] Missing link in /dev/<domain>?

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
TruStore--Data-home 253   0 L--w    1    1      0
TruStore--Data-data 253   3 ---w    0    0      0
TruStore--Data-config 253   1 L--w    1    1      0

# 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
 data      TruStore-Data    1 owi-d- 63.00G  -1  -1 253  3
 data_snap TruStore-Data    1 swi--- 45.00G  -1  -1 -1   -1   data
 home      TruStore-Data    1 -wi-ao 10.00G  -1  -1 253  0

Hopefully that is not too badly word wrapped.

agk redhat com

Greg Freemyer
The Norcross Group
Forensics for the 21st Century

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