Re: lvm partition on ramdisk

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

 



Continuing this frustration: I read in the pvcreate doc that you could tell it to use a whole disk (instead of a partition). So I tried "pvcreate /dev/ram0". With or without zeroing the disk, and with or without "--force", and with any blocksize (1024, 2048, or 4096), the result is always the same:
 
  Device /dev/ram0 not found (or ignored by filtering).
 
I know /dev/ram0 is there; fdisk sees it. Is there any way to turn off the filtering?

Larry Dickson
 
On 5/12/08, Larry Dickson <ldickson@cuttedge.com> wrote:
Hi all,
 
I'm trying to set up a logical volume over a 256MB ramdisk and a 1TB raid array partition. My ramdisk (set up in grub.conf with ramdisk_size=262144 ramdisk_blocksize=4096) fails to make a type 8e partition either in fdisk or sfdisk. The error in fdisk is
WARNING: Re-reading the partition table failed with error 22: Invalid argument.
The kernel still uses the old table.
The new table will be used at the next reboot.
 
And, of course, after the next reboot, my ramdisk data will be gone.
 
Can anyone give me some guidance here? Is it choking on the 4K blocksize? I wanted that for efficiency, as suggested by MrMichaelWill on his blog, but his base case seems to be a file system mounted directly on the unpartitioned device, and I need LVM.
 
TIA,
 
Larry Dickson
Cutting Edge Networked Storage

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux