From: Stefan Priebe <s.priebe@profihost.ag>
To: Stuart D Gathman <stuart@bmsi.com>
Cc: linux-lvm@redhat.com
Subject: Re: [linux-lvm] how to online resize pv?
Date: Tue, 31 Jul 2012 08:58:42 +0200 [thread overview]
Message-ID: <50178222.7030709@profihost.ag> (raw)
In-Reply-To: <501700E1.4040708@bmsi.com>
this does not work for me.
no partition table on vda:
# parted -l
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/system-root: 21,5GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Number Start End Size File system Flags
1 0,00B 21,5GB 21,5GB xfs
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/system-boot: 210MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Number Start End Size File system Flags
1 0,00B 210MB 210MB ext2
Error: /dev/vda: unrecognised disk label
# grub-install /dev/vda
/usr/sbin/grub-setup: error: unable to identify a filesystem in hd0;
safety check can't be performed.
sure as there is no filesystem on sda.
Greets
Stefan
Am 30.07.2012 23:47, schrieb Stuart D Gathman:
> On 07/30/2012 04:45 PM, Stefan Priebe expounded in part:
>>
>>> Only when no partition is open. That is one reason why LVM is an
>>> improvement over partition tables. You don't have to use a partition
>>> table, just use the entire device as a PV.
>>
>>
>> that was my idea too but grub2 then refuses to install onto /dev/vda.
>> It says it cannot find a filesystem on hd0 which is /dev/vda.
> Grub2 supports LV boot partition now. Most distro installers do not
> support this by default, however. I set up my wife's laptop to boot
> from LV. Here is an outline:
>
> http://forums.fedoraforum.org/showthread.php?t=264174
>
> The key line is adding GRUB_PRELOAD_MODULES=lvm so that grub can find
> the LV. If your installer doesn't support it, you have to create the
> LVs, and copy filesystems from an installed system on another drive,
> then run grub2-install.
>
> I haven't tried Fedora 17 installer, to see if it can install grub2 with
> no partition table.
prev parent reply other threads:[~2012-07-31 6:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-30 19:14 [linux-lvm] how to online resize pv? Stefan Priebe
2012-07-30 19:25 ` Scott Merrilees
2012-07-31 6:25 ` Stefan Priebe
2012-07-31 10:02 ` andreas nastke
2012-07-31 11:30 ` Stefan Priebe - Profihost AG
2012-07-30 20:25 ` Stuart D Gathman
2012-07-30 20:45 ` Stefan Priebe
2012-07-31 5:10 ` Fred van Zwieten
2012-07-31 6:26 ` Stefan Priebe
2012-07-31 9:25 ` Bryn M. Reeves
2012-07-31 9:50 ` Stefan Priebe - Profihost AG
[not found] ` <501700E1.4040708@bmsi.com>
2012-07-31 6:58 ` Stefan Priebe [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=50178222.7030709@profihost.ag \
--to=s.priebe@profihost.ag \
--cc=linux-lvm@redhat.com \
--cc=stuart@bmsi.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).