<div>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:</div>

<div> </div>
<div>  Device /dev/ram0 not found (or ignored by filtering).</div>
<div> </div>
<div>I know /dev/ram0 is there; fdisk sees it. Is there any way to turn off the filtering?<br><br>Larry Dickson</div>
<div> </div>
<div><span class="gmail_quote">On 5/12/08, <b class="gmail_sendername">Larry Dickson</b> <<a href="mailto:ldickson@cuttedge.com">ldickson@cuttedge.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Hi all,</div>
<div> </div>
<div>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</div>

<div>WARNING: Re-reading the partition table failed with error 22: Invalid argument.</div>
<div>The kernel still uses the old table.</div>
<div>The new table will be used at the next reboot.</div>
<div> </div>
<div>And, of course, after the next reboot, my ramdisk data will be gone.</div>
<div> </div>
<div>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.</div>

<div> </div>
<div>TIA,</div>
<div> </div><span class="sg">
<div>Larry Dickson</div>
<div>Cutting Edge Networked Storage</div></span></blockquote></div><br>