[PVFS-users] meta server and io servers out of sync

Rob Ross rross@mcs.anl.gov
Fri, 30 Jan 2004 14:46:52 -0600 (CST)


Hi Darrian,

See the User Guide for info on the meta file.  For a short answer though:

---

;cd /home/pvfs/pvfs-meta/
;ls
foo*
;file foo
foo: data
;stat foo
  File: `foo'
  Size: 104             Blocks: 8          IO Block: 4096   regular file
Device: 811h/2065d      Inode: 33379       Links: 1
Access: (0744/-rwxr--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2004-01-30 16:44:29.000000000 -0600
Modify: 2004-01-29 22:40:57.000000000 -0600
Change: 2004-01-29 22:40:57.000000000 -0600

---

That "Inode" value is it.  You can also get it with ls:

---

;ls -li foo
  33379 -rwxr--r--    1 root     root          104 Jan 29 22:40 foo*

---

Anyway, there you go.

Rob

On Fri, 30 Jan 2004, Hale, Darrian J wrote:

> Thanks everyone for all your help, 
> 
> I just have one last question regarding: "Before you delete the meta file,
> find its inode number".
> 
> Is the inode contained in the meta file? If so how do I find that out.  Or
> do I want the inode number of the meta file itself?
> 
> I cannot get the inode number through the mounted filesystem, stat doesn't
> think that file exists.
> 
> Thanks again, Darrian
> 
> > -----Original Message-----
> > From: Don Porter [mailto:porterde@mercury.hendrix.edu] 
> > Sent: Thursday, January 29, 2004 9:39 AM
> > To: Rob Ross
> > Cc: Hale, Darrian J; 'Nathan Poznick'; 
> > 'pvfs-users@www.beowulf-underground.org'
> > Subject: RE: [PVFS-users] meta server and io servers out of sync
> > 
> > 
> > If you want to recover the space on the io servers, you can 
> > do that too...
> > 
> > Before you delete the meta file, find its inode number.  
> > Then, on each of the iods (except the one that went down, of 
> > course), its data file will be in <data directory>/<inode % 
> > 101>/f<inode#>.0 .  If you delete this file, you will recover 
> > the space.
> > 
> > Good luck,
> > don
> > 
> > On Thu, 2004-01-29 at 20:06, Rob Ross wrote:
> > > Have you tried removing the file through PVFS?  That's probably the
> > > cleanest way to try to get rid of it.  Otherwise removing just the 
> > > metadata file will leave some extra data files around, but 
> > won't otherwise 
> > > hurt the system.
> > > 
> > > Regards,
> > > 
> > > Rob
> > > 
> > > On Thu, 29 Jan 2004, Hale, Darrian J wrote:
> > > 
> > > > Is it safe to delete the file from the meta-server?  Will 
> > anything 
> > > > weird happen to my filesystem besides the possible loss 
> > of space on 
> > > > the io nodes?
> > > > 
> > > > Thanks, Darrian
> > > > 
> > > > > -----Original Message-----
> > > > > From: Nathan Poznick [mailto:poznick@conwaycorp.net]
> > > > > Sent: Thursday, January 29, 2004 2:02 PM
> > > > > To: 'pvfs-users@www.beowulf-underground.org'
> > > > > Subject: Re: [PVFS-users] meta server and io servers out of sync
> > > > > 
> > > > > 
> > > > > Thus spake Hale, Darrian J:
> > > > > > Sorry hit send accidentally.
> > > > > > 
> > > > > > Stat also gives a No such file or directory error.
> > > > > > 
> > > > > > This file exists on the meta server.
> > > > > 
> > > > > Have you tried removing the actual metadata file on the
> > > > > manager?  The old data will be left on the iod, but if the 
> > > > > inode is reused, the iods will create .saveme files from the 
> > > > > old ones (I think that's how it works, at least)
> > > > > 
> > > > > 
> > > > > --
> > > > > Nathan Poznick <poznick@conwaycorp.net>
> > > > > 
> > > > > America lives in the heart of every man everywhere who wishes
> > > > > to find a region where he will be free to work out his 
> > > > > destiny as he chooses. - Woodrow Wilson
> > > > > 
> > > > > 
> > > > 
> > > > _______________________________________________
> > > > PVFS-users mailing list PVFS-users@www.beowulf-underground.org
> > > > http://beowulf-underground.org/mailman/listinfo/pvfs-users
> > > > 
> > > > 
> > > 
> > > _______________________________________________
> > > PVFS-users mailing list PVFS-users@www.beowulf-underground.org
> > > http://beowulf-underground.org/mailman/listinfo/pvfs-users
> > 
> > 
> 
>