From: "Beginner" <dermot@sciencephoto.com>
To: linux-admin@vger.kernel.org
Subject: Re: OS upgrade
Date: Thu, 14 Feb 2008 09:31:32 -0000 [thread overview]
Message-ID: <47B40A74.24532.41099824@dermot.sciencephoto.com> (raw)
In-Reply-To: <47B40445.30002@agitate.org.uk>
My reasoning for saying that LVM uses files on the system disk was
not just the lvmtab which on Fedora4 is /etc/lvm and it's files
(lvm.conf) but also the /dev/ mappings, EG:
/dev/mapper/my_vol-scanning1
1.8T 718G 926G 44% /data
I was concerned about the recreation of the /dev files.
As it turned out, the CentOS set-up (Anaconda) detected the volume
but it complained about /dev/sdb which is odd as I don't have one:
/dev/sda2 13G 5.1G 6.5G 44% /
/dev/sda1 136M 23M 106M 18% /boot
/dev/shm 1.1G 0 1.1G 0% /dev/shm
/dev/sda5 130G 1.1G 122G 1% /var
It didn't offer me the option of installing on the 137GB disk that is
the un-RAIDed system disk, least don't remember seeing it.
I wasn't confident enough to proceed so I rebooted to get a better
idea of existing disk arrangements. That lead to an fsck, at which
point I decided to call it a night as I did want to wait 2+ hours for
it to check the 1.8TB and then start the upgrade.
I'll have to try and find a longer window to do this in. I am not
sure about backing it up to a removable drive. I know it takes 4 LTO2
tapes and most of the weekend to back up the system. A restore would
take about the same.
I'll do an update around Easter I guess. Thanx for the responses.
Dermot.
On 14 Feb 2008 at 9:05, Adam T. Bowen wrote:
> Hi,
>
> I'm no expert on this subject, but seeing as nobody else has replied
> yet, I thought I would have a guess as to how this would work.
>
> Beginner wrote:
> > I want to upgrade, or re-install with CentOS and I don't want to have
> > to re-store all data on the RAID 5 volume but I am not sure that I
> > can because the LVM will use files from the system disk.
>
> Will it? We used to use LVM on HPUX and although there was an
> /etc/lvmtab file (think fstab), you could re-create it easily enough by
> running the lvscan command. This same command exists on Linux (although
> there is no lvmtab), and according to the man page it runs
> automatically. There is also a --mknodes switch which is nice.
>
> If you want to be sure that you can just slap a new OS on and it will
> automatically scan for and set up your logical volumes, try booting from
> a live Linux CD (Knoppix for example) and see if you can still see your
> logical volumes.
>
> Cheers
>
> Adam
>
> > Am I going to be able to maintain my existing LVM volumes during the
> > re-install? Is there a procedure to maintain LVM or store in after an
> > install or upgrade?
> >
> > The system is backed but if I have to re-create the partitions and
> > restore it will be off-line for several days and I would need to
> > schedule it for a public holiday.
> >
> > Any advice. Thanx,
> > Dp.
prev parent reply other threads:[~2008-02-14 9:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-13 18:16 OS upgrade Beginner
2008-02-14 9:05 ` Adam T. Bowen
2008-02-14 9:31 ` Beginner [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=47B40A74.24532.41099824@dermot.sciencephoto.com \
--to=dermot@sciencephoto.com \
--cc=linux-admin@vger.kernel.org \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).