[linux-lvm] Can not write to volume

Diaz Rodriguez, Eduardo ediaz at pk25.com
Wed Apr 13 14:18:00 UTC 2005


Hi Terry, Are this a production system?, If you can stop it, umount the
filesystem an run a:

1º Reiserfsck

2º You can use badblocks for check (in read only ) the status of the data.


regards!

On Wed, 13 Apr 2005 00:57:22 -0700, Terry Rigby wrote
> Tonight I noticed an inability to write to my LVM volume.  I see the 
> following errors in syslog
> 
> Apr 13 00:45:18 localhost kernel: ReiserFS: warning: is_tree_node: 
> node level 65535 does not match to the expected one 1
> Apr 13 00:45:18 localhost kernel: ReiserFS: dm-0: warning: vs-5150: 
> search_by_key: invalid format found in block 43843584. Fsck?
> 
> I am unsure as to what info might be relevant here so I will paste 
> some hopefully without being too long winded.  Is it recommended to 
> run a fsck on this?  How might I fix the issue?
> 
> fileserver:/storage/tv/recordings# df -h |grep storage
> /dev/mapper/4474-storage
>                       242G  210G   33G  87% /storage
> 
> fileserver:/storage/tv/recordings# pvscan
>   PV /dev/hda2   VG 4474   lvm2 [18.18 GB / 0    free]
>   PV /dev/hdc    VG 4474   lvm2 [74.53 GB / 0    free]
>   PV /dev/hdb    VG 4474   lvm2 [74.53 GB / 0    free]
>   PV /dev/hdd    VG 4474   lvm2 [74.53 GB / 0    free]
>   Total: 4 [241.77 GB] / in use: 4 [241.77 GB] / in no VG: 0 [0   ]
> 
> fileserver:/storage/tv/recordings# pvdisplay
>   --- Physical volume ---
>   PV Name               /dev/hda2
>   VG Name               4474
>   PV Size               18.18 GB / not usable 0
>   Allocatable           yes (but full)
>   PE Size (KByte)       4096
>   Total PE              4655
>   Free PE               0
>   Allocated PE          4655
>   PV UUID               hxeJjE-AgPR-letG-U0rH-FlDP-hOu9-o7UH7e
> 
>   --- Physical volume ---
>   PV Name               /dev/hdc
>   VG Name               4474
>   PV Size               74.53 GB / not usable 0
>   Allocatable           yes (but full)
>   PE Size (KByte)       4096
>   Total PE              19079
>   Free PE               0
>   Allocated PE          19079
>   PV UUID               KMzdEO-aigL-KoHL-2ZED-SgWf-CsoW-7qEWQP
> 
>   --- Physical volume ---
>   PV Name               /dev/hdb
>   VG Name               4474
>   PV Size               74.53 GB / not usable 0
>   Allocatable           yes (but full)
>   PE Size (KByte)       4096
>   Total PE              19079
>   Free PE               0
>   Allocated PE          19079
>   PV UUID               2MKTrn-jv8Y-hUPU-8W6m-Uur1-ItpE-Abq3w4
> 
>   --- Physical volume ---
>   PV Name               /dev/hdd
>   VG Name               4474
>   PV Size               74.53 GB / not usable 0
>   Allocatable           yes (but full)
>   PE Size (KByte)       4096
>   Total PE              19079
>   Free PE               0
>   Allocated PE          19079
>   PV UUID               ISBKAD-7SQt-B9Bo-ppng-G5Q6-Iu3D-uABjz7
> 
> fileserver:/storage/tv/recordings# vgscan
>   Reading all physical volumes.  This may take a while...
>   Found volume group "4474" using metadata type lvm2
> 
> fileserver:/storage/tv/recordings# vgdisplay
>   --- Volume group ---
>   VG Name               4474
>   System ID
>   Format                lvm2
>   Metadata Areas        4
>   Metadata Sequence No  3
>   VG Access             read/write
>   VG Status             resizable
>   MAX LV                0
>   Cur LV                1
>   Open LV               1
>   Max PV                0
>   Cur PV                4
>   Act PV                4
>   VG Size               241.77 GB
>   PE Size               4.00 MB
>   Total PE              61892
>   Alloc PE / Size       61892 / 241.77 GB
>   Free  PE / Size       0 / 0
>   VG UUID               lIoGSW-jLzj-HDN6-1mdY-0yqV-bily-BU9xzF
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


=======================================================================================
Es una locura amar, a menos que se ame con locura.
		-- Proverbio latino. 
=======================================================================================




More information about the linux-lvm mailing list