From: Vu Pham <vu@sivell.com>
To: e@os.sg, LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] re-activate lv after reboot ?
Date: Thu, 23 Apr 2009 06:23:12 -0500 [thread overview]
Message-ID: <49F04FA0.60007@sivell.com> (raw)
In-Reply-To: <4e3a31b90904222046h5419f7ceo95988fd68e749fa0@mail.gmail.com>
Edward Choi wrote:
> On Tue, Apr 21, 2009 at 11:47 PM, vu pham <vu@sivell.com> wrote:
>> My server uses iscsiadm to access a remote iscsi device. VG and LV are
>> created on that device and can be accessed just fine.
>> The problem is after reboot, the LVs are in inactive mode and I have to run
>> vgchange -a y to activate the VG on the iscsi device or to put that command
>> /etc/rcd./rc.local.
>>
>> Is there any way to automatically to activate those LVs/VGs when the iscsi
>> device starts ?
>>
>
> First make sure node.startup is set to automatic in /etc/iscsi/iscsi.conf. Then
> you can edit /etc/fstab and mount your lv using _netdev.
>
Hi Ed, thanks for your reply. I did not say clearly in my original post.
The server accesses this iscsi device as the back-end disk device for
some domUs so it never mounts the LVs as system files.
Vu
prev parent reply other threads:[~2009-04-23 11:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-21 15:47 [linux-lvm] re-activate lv after reboot ? vu pham
2009-04-21 15:58 ` Eric Brunson
2009-04-21 16:04 ` vu pham
2009-04-21 16:15 ` Eric Brunson
2009-04-23 3:46 ` Edward Choi
2009-04-23 11:23 ` Vu Pham [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49F04FA0.60007@sivell.com \
--to=vu@sivell.com \
--cc=e@os.sg \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).