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

Re: LVM with RHCS



2) I run system-config-lvm and reduce lv-wf1 from 160G to 70G and increased
lv-wf2 from 10G to 30G.

system-config-lvm sometime not do the exact thing as expected. You
should have used command line like  vgreduce and lvreduce after that
resizefs and fsck.

Make sure that your lvm.conf file has been configured to handle the
number cluster nodes.

As per errors, it looks like there are somewhere the LVM are being
mapped and that has not been re-sized.

On Tue, Sep 7, 2010 at 12:55 PM, James Corteciano
<james linux-source org> wrote:
> Hi All,
>
> I have volume group called "vg-nfs1" and it is controlled by RHCS
> (rhcs-nfs1) to mount in rhcs-node1 server. This group has 3 logical volumes
> namely lv-wf1 (160G), lv-wf2 (20G), and lv-dev (10G).
>
> Now I have plan to reduce lv-wf1 into 70G and lv-wf2 increase into 30G.
> These are the steps I did:
> 1) Umount /nfs/lv-wf1, /nfs/lv-wf2, and /nfs/lv-dev but I can't unmounted
> them because message said "device busy". Since it's running in RHCS, I use
> "clusvcadm -s rhcs-nfs1" and the service is stop successfully.
>
> 2) I run system-config-lvm and reduce lv-wf1 from 160G to 70G and increased
> lv-wf2 from 10G to 30G.
>
> Now, when I run the rhcs-nfs1 service using the command "clusvcadm -e
> rhcs-nfs1 -m rhcs-node1", I got failed result. I have checked the
> /var/log/messages and this is the output.
>
> --------------------------------------------------------------
> clurgmgrd: [7981]: <err> 'fsck -p /dev/vg-nfs1/lv-wf1' failed, error=4;
> check /tmp/fs-wf1-fs.fsck.log.e24076 for errors
> clurgmgrd[7981]: <warning> #68: Failed to start service:rhcs-nfs1; return
> value: 1
> multipathd: dm-18: remove map (uevent)
> multipathd: dm-19: remove map (uevent)
> multipathd: dm-20: remove map (uevent)
> clurgmgrd[7981]: <warning> #71: Relocating failed service service:rhcs-nfs1
> --------------------------------------------------------------
>
> When I check the /tmp/fs-wf1-fs.fsck.log.e24076, this is the output:
>
> --------------------------------------------------------------
> fsck 1.39 (29-May-2006)
> /dev/vg-nfs1/lv-wf1: The filesystem size (according to the superblock) is
> 41943040 blocks
> The physical size of the device is 18350080 blocks
> Either the superblock or the partition table is likely to be corrupt!
>
> /dev/vg-nfs1/lv-wf1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
>        (i.e., without -a or -p options)
> --------------------------------------------------------------
>
> # ll -d /dev/vg-nfs1/lv-wf1
> ls: /dev/vg-nfs1/lv-wf1: No such file or directory
>
>
> I hope anyone could help me to rectify this.
>
> Thank you.
>
> Regards,
> James
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



-- 
Regards.
Sanjay Chakraborty



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