<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule">

<channel>
<title>Topic &#x27;Re: HDISK Questions&#x27; in forum &#x27;All Things Unix&#x27; - dslreports.com</title>
<link>http://www.dslreports.com/forum/Re-HDISK-Questions-27745342</link>
<description></description>
<language>en</language>
<pubDate>Sun, 19 May 2013 10:51:13 EDT</pubDate>
<lastBuildDate>Sun, 19 May 2013 10:51:13 EDT</lastBuildDate>

<item>
<title>Re: HDISK Questions</title>
<link>http://www.dslreports.com/forum/Re-HDISK-Questions-27746275</link>
<description><![CDATA[Archivis posted : The only thing I saw was that sizing a disk right in VMware and passing it onto a Linux client doesn't give you 100% of the disk when trying to partition it.  A 700GB disk gave me 690GB of partitionable data.  Although, a 64GB disk gave me 64GB of disk space when I used LVM.<br><small>--<br>A government big enough to give you everything you want, is strong enough to take everything you have. -MLK</small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-HDISK-Questions-27746275</guid>
<pubDate>Tue, 20 Nov 2012 16:25:18 EDT</pubDate>
</item>

<item>
<title>Re: HDISK Questions</title>
<link>http://www.dslreports.com/forum/Re-HDISK-Questions-27746271</link>
<description><![CDATA[Archivis posted : I put myself into a tizzy trying to get this post out and figure out how I could complete this request by end of business.  If all of the disks were managed by LVM, I wouldn't even have posted.<br><br>I had two requests.  One request was to resize a file system (/apps) from about 540G to 700G.  This is not managed by LVM and was set up via fdisk.<br><br>The other request was to create several new file systems.<br><br>I was able to increase the size of the disk in VMware that contained /apps.  I then had to go into the OS and run:<br>umount /apps<br><code>echo 1 &gt; /sys/block/sdb/device/rescan</code><br>fdisk /dev/sdb<br>delete the partition<br>recreate partition (using defaults, which is max blocks)<br>write<br><code>e2fsck -f /dev/sdb1<br>resize2fs /dev/sdb1</code><br>And then mount the file system, run a df and verify the changes.<br><br>The other file systems was as simple as adding a new disk, scanning for the new disk, adding it into the LVM and making the appropriate VG and LVs.<br><small>--<br>A government big enough to give you everything you want, is strong enough to take everything you have. -MLK</small><br>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-HDISK-Questions-27746271</guid>
<pubDate>Tue, 20 Nov 2012 16:23:56 EDT</pubDate>
</item>

<item>
<title>Re: HDISK Questions</title>
<link>http://www.dslreports.com/forum/Re-HDISK-Questions-27746166</link>
<description><![CDATA[sempergoofy posted : If you have an LVM logical volume mounted at a mount point, you can run the "lvresize" command to increase (as opposed to decrease) the size without umounting/remounting it.<br><br>There are caveats, of course.  I can't quite follow your description, but it seems you might be assigning logical volumes from a first level hypervisor to a second level virtual machine and they appear as complete disk drive (sda sdb) to that guest?  If so, then the guest can't see the first level's volume group.  So you would have to take the disk away from the guest virtual machine before doing any maintenance like that.  I would not try to increase the size of an active filesystem at one level when a second level is unaware of what is going on. Sounds like a recipe for disaster.    <br><br>I found this page useful the first time I wanted to resize a mounted filesystem:<br>&raquo;<A HREF="http://www.tcpdump.com/kb/os/linux/lvm-resizing-guide/all-pages.html" >www.tcpdump.com/kb/os/linux/lvm-&middot;&middot;&middot;ges.html</A><br><small>--<br>nohup rm -fr /&</small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-HDISK-Questions-27746166</guid>
<pubDate>Tue, 20 Nov 2012 15:57:35 EDT</pubDate>
</item>

<item>
<title>Re: HDISK Questions</title>
<link>http://www.dslreports.com/forum/Re-HDISK-Questions-27745380</link>
<description><![CDATA[Archivis posted : From what I've been reading, I can increase the size of the disk in the VM, and then run a rescan of the disk using:<br>echo 1 > /sys/block/sdx/device/rescan<br>I'd then have to unmount the file system, run fdisk on it, run resize2fs on it and then remount the file system.<br><br>Is there any way I can do this without taking the file system offline?<br><br>I have a request to increase the space of an existing file system on a Linux partition and then to create four more file systems.  I guess I could extend the one via fdisk and then add a new disk in, make it LVM managed and then do what I know how to do.<br><br>I guess I'm just looking for thoughts by people who managed file systems and disks from the 90's, because, even though this is a virtual server, the people who set this up didn't know anything about Linux or LVM.<br><small>--<br>A government big enough to give you everything you want, is strong enough to take everything you have. -MLK</small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/Re-HDISK-Questions-27745380</guid>
<pubDate>Tue, 20 Nov 2012 13:02:22 EDT</pubDate>
</item>

<item>
<title>HDISK Questions</title>
<link>http://www.dslreports.com/forum/HDISK-Questions-27745342</link>
<description><![CDATA[Archivis posted : I need someone with a deeper knowledge of LVM than I have.  I have a SuSE server that I'm trying to verify space on.  Normally, I can use the various LVM commands interact with disks, volume groups, logical volumes, file systems, etc.<br><br>The current setup, according to fdisk -l, shows two disks (sda and sdb).  They show up as Linux partitions (not Linux LVM) and Linux swap (just one partition).<br><br>A "df -h" shows /dev/sdb1 or /dev/sda1 for the various mount points for /apps or /boot or /.<br><br>I have a request to increase the size of the /apps directory and to create several more file systems that would be nested under /apps.  It has been a really long time since I've done anything other than LVM.  Can I convert these to LVM-managed partitions?  Can I leave the existing space as normal partitions and add new hard drives in place and make them LVM managed?  I need to extend an existing 574G mount point to 700G, which is currently a non-LVM mount point.<br><br>Maybe there's a better way to do this and if I find out whoever set up these systems, I'll hurt them.<br><small>--<br>A government big enough to give you everything you want, is strong enough to take everything you have. -MLK</small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/HDISK-Questions-27745342</guid>
<pubDate>Tue, 20 Nov 2012 12:53:52 EDT</pubDate>
</item>

</channel>
</rss>
