* File problem question
@ 2006-08-11 8:47 Ruben Rubio
0 siblings, 0 replies; 7+ messages in thread
From: Ruben Rubio @ 2006-08-11 8:47 UTC (permalink / raw)
To: xfs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I have a problem with xfs filesystem. I have lost a file. So:
root@rigodon log # pwd
/var/log
root@rigodon log # ls -al lastlog
- -r-------- 1 root root 146292 ago 11 10:44 lastlog
root@rigodon log # du -sh * | grep lastlog
7,6G lastlog
I have a file witch size is 7,6 GB. However, if I ls -al is another
file. Seems like filesystems is being corrupted.
How can I delete 7,6 G file?
Is this dangerous? Is there any another action that I shoud do?
Thanks in advance
Ruben Rubio Rey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFE3EQlIo1XmbAXRboRApX6AKCr8V5quu8BMCo25IrxUoWhLBxSNwCfXvgF
FunlWulDy294xXZC4H/CuK8=
=d9Hd
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* File problem question
@ 2006-08-11 8:51 Ruben Rubio
2006-08-11 15:44 ` Christian
2006-08-14 0:31 ` Nathan Scott
0 siblings, 2 replies; 7+ messages in thread
From: Ruben Rubio @ 2006-08-11 8:51 UTC (permalink / raw)
To: xfs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I have a problem with xfs filesystem. I have lost a file. So:
root@rigodon log # pwd
/var/log
root@rigodon log # ls -al lastlog
- -r-------- 1 root root 146292 ago 11 10:44 lastlog
root@rigodon log # du -sh * | grep lastlog
7,6G lastlog
I have a file witch size is 7,6 GB. However, if I ls -al is another
file. Seems like filesystems is being corrupted.
How can I delete 7,6 G file?
Is this dangerous? Is there any another action that I shoud do?
Thanks in advance
Ruben Rubio Rey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFE3ET6Io1XmbAXRboRAjaMAKCysw9xUYamyezyTsiq2PaRlZ7sWQCfaMhb
OhuGEystqU3NZZtIaRFJa/M=
=I0Tx
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: File problem question
2006-08-11 8:51 Ruben Rubio
@ 2006-08-11 15:44 ` Christian
2006-08-17 6:35 ` Ruben Rubio
2006-08-14 0:31 ` Nathan Scott
1 sibling, 1 reply; 7+ messages in thread
From: Christian @ 2006-08-11 15:44 UTC (permalink / raw)
To: xfs
On Fri, 11 Aug 2006, Ruben Rubio wrote:
> root@rigodon log # ls -al lastlog
> - -r-------- 1 root root 146292 ago 11 10:44 lastlog
---^
is that a typo or is there a space in the permission field?
> I have a file witch size is 7,6 GB. However, if I ls -al is another
> file. Seems like filesystems is being corrupted.
What does xfs_check say? Which (linux?-)kernel are you using? If you are
about to xfs_*, please make sure you have the *latest* xfsprogs[0],
which is 2.8.10-1 right now...
Christian.
[0] ftp://oss.sgi.com/projects/xfs/cmd_tars/
--
BOFH excuse #68:
only available on a need to know basis
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: File problem question
2006-08-11 8:51 Ruben Rubio
2006-08-11 15:44 ` Christian
@ 2006-08-14 0:31 ` Nathan Scott
2006-08-17 6:36 ` Ruben Rubio
1 sibling, 1 reply; 7+ messages in thread
From: Nathan Scott @ 2006-08-14 0:31 UTC (permalink / raw)
To: Ruben Rubio; +Cc: xfs
On Fri, Aug 11, 2006 at 10:51:06AM +0200, Ruben Rubio wrote:
> root@rigodon log # pwd
> /var/log
> root@rigodon log # ls -al lastlog
> - -r-------- 1 root root 146292 ago 11 10:44 lastlog
> root@rigodon log # du -sh * | grep lastlog
> 7,6G lastlog
what does "xfs_bmap -vp lastlog" say?
cheers.
--
Nathan
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: File problem question
2006-08-11 15:44 ` Christian
@ 2006-08-17 6:35 ` Ruben Rubio
0 siblings, 0 replies; 7+ messages in thread
From: Ruben Rubio @ 2006-08-17 6:35 UTC (permalink / raw)
To: Christian, xfs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Christian wrote:
> On Fri, 11 Aug 2006, Ruben Rubio wrote:
>> root@rigodon log # ls -al lastlog
>> - -r-------- 1 root root 146292 ago 11 10:44 lastlog
> ---^
> is that a typo or is there a space in the permission field?
This is an error when I did copy/paste
>
>> I have a file witch size is 7,6 GB. However, if I ls -al is another
>> file. Seems like filesystems is being corrupted.
>
> What does xfs_check say? Which (linux?-)kernel are you using? If you are
I did't run xfs_check yet. I have to disconnect the server because I
have to unmount the filesystem in orden to run the program (I ll do it
after holidays if there is not risk).
xfsprogs version: 2.6.13-2
Kernel: 2.6.9-1.667smp
Distro: Fedora Core release 3
> about to xfs_*, please make sure you have the *latest* xfsprogs[0],
> which is 2.8.10-1 right now...
>
> Christian.
> [0] ftp://oss.sgi.com/projects/xfs/cmd_tars/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFE5A4lIo1XmbAXRboRAv6zAJ0TUw3nJZEH+1yyJQROwVduFnkoXwCgsRaU
kXjPxH4aFKStRAOWvRaGGw4=
=4JFf
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: File problem question
2006-08-14 0:31 ` Nathan Scott
@ 2006-08-17 6:36 ` Ruben Rubio
2006-08-17 7:45 ` Ruben Rubio
0 siblings, 1 reply; 7+ messages in thread
From: Ruben Rubio @ 2006-08-17 6:36 UTC (permalink / raw)
To: Nathan Scott; +Cc: xfs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Nathan Scott wrote:
> On Fri, Aug 11, 2006 at 10:51:06AM +0200, Ruben Rubio wrote:
>> root@rigodon log # pwd
>> /var/log
>> root@rigodon log # ls -al lastlog
>> - -r-------- 1 root root 146292 ago 11 10:44 lastlog
>> root@rigodon log # du -sh * | grep lastlog
>> 7,6G lastlog
>
> what does "xfs_bmap -vp lastlog" say?
root@rigodon log # xfs_bmap -vp lastlog
lastlog:
EXT: FILE-OFFSET BLOCK-RANGE AG AG-OFFSET TOTAL
0: [0..279]: hole 280
1: [280..287]: 64537592..64537599 15 (17552..17559) 8
>
> cheers.
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFE5A5QIo1XmbAXRboRApuuAKCEaMWm17e2YWJwbD/sL/aq88+S+wCgpHJi
yFtYxP3wzm+7WS7H/Ci94tk=
=k8IT
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: File problem question
2006-08-17 6:36 ` Ruben Rubio
@ 2006-08-17 7:45 ` Ruben Rubio
0 siblings, 0 replies; 7+ messages in thread
From: Ruben Rubio @ 2006-08-17 7:45 UTC (permalink / raw)
To: xfs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I think I have found the response.
lastlog is a special "sparse file".
When du -sh command is executed, the space that shows is unreal.
ls -al shows the good one disk usage.
Then, all seems is normal.
Thanks anyway!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFE5B6NIo1XmbAXRboRAv0SAJ4heBkyh4yavO6Wd4S+H8pAXgR9cQCeJY+0
2W9+TU3/Mf6HQAuwVFNpJ+w=
=d3Cp
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-08-17 7:46 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-11 8:47 File problem question Ruben Rubio
-- strict thread matches above, loose matches on Subject: below --
2006-08-11 8:51 Ruben Rubio
2006-08-11 15:44 ` Christian
2006-08-17 6:35 ` Ruben Rubio
2006-08-14 0:31 ` Nathan Scott
2006-08-17 6:36 ` Ruben Rubio
2006-08-17 7:45 ` Ruben Rubio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox