<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Fedora 13 Logical volume problem (points!) in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/fedora-13-logical-volume-problem-points/m-p/4693473#M42259</link>
    <description>Hi Christian,&lt;BR /&gt;&lt;BR /&gt;Can you detail the exact steps that you've taken ?&lt;BR /&gt;&lt;BR /&gt;Adding an additional disk into a volume group won't automatically extend any logical volumes.&lt;BR /&gt;&lt;BR /&gt;You'll need to do a lvresize before doing an resize2fs.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Rob</description>
    <pubDate>Thu, 30 Sep 2010 13:36:58 GMT</pubDate>
    <dc:creator>Rob Leadbeater</dc:creator>
    <dc:date>2010-09-30T13:36:58Z</dc:date>
    <item>
      <title>Fedora 13 Logical volume problem (points!)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-13-logical-volume-problem-points/m-p/4693472#M42258</link>
      <description>Hi folks,&lt;BR /&gt;&lt;BR /&gt;I have a logical volume problem on Fedora 13.&lt;BR /&gt;&lt;BR /&gt;I tried to add a second disk to a logical volume. But resize2fs /dev/vg_smarty/lv_home tells me:&lt;BR /&gt;&lt;BR /&gt;"Device or resource busy while trying to open /dev/vg_smarty/lv_home"&lt;BR /&gt;&lt;BR /&gt;I have tried various things, including going into single user mode and unmounting /home,  booting from the Fedora 13 DVD and trying to change the volumes but it will only let me continue if I create a new boot partition. But my boot partition is working fine.&lt;BR /&gt;&lt;BR /&gt;My idea now is to try to either take the second disk out of lv_home (because resize2fs did not work anyway) or if there is no hope of being able to do that then to remove lv_home altogether and create a new lv_home.&lt;BR /&gt;&lt;BR /&gt;I am wondering if this might have anything to do with disk encryption or use of the ext4 file system? I have / and /home encrypted. Fedora refused to encrypt the boot partition at installation time so I guess this is not possible.&lt;BR /&gt;&lt;BR /&gt;Any informed help would be greatly appreciated and generously rewarded with points!&lt;BR /&gt;&lt;BR /&gt;Thanks, Christian&lt;BR /&gt;&lt;BR /&gt;  --- Logical volume ---&lt;BR /&gt;  LV Name                /dev/vg_smarty/lv_home&lt;BR /&gt;  VG Name                vg_smarty&lt;BR /&gt;  LV UUID                xxx&lt;BR /&gt;  LV Write Access        read/write&lt;BR /&gt;  LV Status              available&lt;BR /&gt;  # open                 1&lt;BR /&gt;  LV Size                1015.72 GiB&lt;BR /&gt;  Current LE             32503&lt;BR /&gt;  Segments               2&lt;BR /&gt;  Allocation             inherit&lt;BR /&gt;  Read ahead sectors     auto&lt;BR /&gt;  - currently set to     256&lt;BR /&gt;  Block device           253:5&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Sep 2010 13:26:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-13-logical-volume-problem-points/m-p/4693472#M42258</guid>
      <dc:creator>Christian Deutsch_1</dc:creator>
      <dc:date>2010-09-30T13:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Fedora 13 Logical volume problem (points!)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-13-logical-volume-problem-points/m-p/4693473#M42259</link>
      <description>Hi Christian,&lt;BR /&gt;&lt;BR /&gt;Can you detail the exact steps that you've taken ?&lt;BR /&gt;&lt;BR /&gt;Adding an additional disk into a volume group won't automatically extend any logical volumes.&lt;BR /&gt;&lt;BR /&gt;You'll need to do a lvresize before doing an resize2fs.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Rob</description>
      <pubDate>Thu, 30 Sep 2010 13:36:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-13-logical-volume-problem-points/m-p/4693473#M42259</guid>
      <dc:creator>Rob Leadbeater</dc:creator>
      <dc:date>2010-09-30T13:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Fedora 13 Logical volume problem (points!)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-13-logical-volume-problem-points/m-p/4693474#M42260</link>
      <description>Hi Rob,&lt;BR /&gt;&lt;BR /&gt;Thanks for mentioning lvresize.&lt;BR /&gt;&lt;BR /&gt;No I did not do that yet.&lt;BR /&gt;&lt;BR /&gt;I used instructions from this page:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.techotopia.com/index.php/Adding_a_New_Disk_to_a_Fedora_Volume_Group_and_Logical_Volume" target="_blank"&gt;http://www.techotopia.com/index.php/Adding_a_New_Disk_to_a_Fedora_Volume_Group_and_Logical_Volume&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;First I did:&lt;BR /&gt;&lt;BR /&gt;pvcreate /dev/sdb&lt;BR /&gt;&lt;BR /&gt;and got this message:&lt;BR /&gt;&lt;BR /&gt;"Device /dev/sdb not found (or ignored by filtering)."&lt;BR /&gt;&lt;BR /&gt;I wanted to use the whole disk "as one partition" so to speak. Anyway this refused to work, so instead I tried:&lt;BR /&gt;&lt;BR /&gt;pvcreate /dev/sdb1&lt;BR /&gt;&lt;BR /&gt;This worked. &lt;BR /&gt;&lt;BR /&gt;After that I used:&lt;BR /&gt;&lt;BR /&gt;vgextend vg_smarty /dev/sdb1&lt;BR /&gt;&lt;BR /&gt;That worked fine as well.&lt;BR /&gt;&lt;BR /&gt;FYI: using the "Logical Volume Management" GUI after this did not seem to help. It does not seem to offer many options or possibilities anyway.&lt;BR /&gt;&lt;BR /&gt;Trying the pvcreate command again will not work now, even with -ff, I get the message "Can't open /dev/sdb1 exclusively.  Mounted filesystem?". So that is for me one additional argument to do something to get /dev/sdb1 out of vg_smarty.&lt;BR /&gt;&lt;BR /&gt;Thanks for more help (I will give more points of course).&lt;BR /&gt;&lt;BR /&gt;Christian&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Sep 2010 13:51:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-13-logical-volume-problem-points/m-p/4693474#M42260</guid>
      <dc:creator>Christian Deutsch_1</dc:creator>
      <dc:date>2010-09-30T13:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Fedora 13 Logical volume problem (points!)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-13-logical-volume-problem-points/m-p/4693475#M42261</link>
      <description>Can you post the output of&lt;BR /&gt;&lt;BR /&gt;# vgdisplay -v vg_smarty&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;# pvdisplay&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Rob</description>
      <pubDate>Thu, 30 Sep 2010 14:41:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-13-logical-volume-problem-points/m-p/4693475#M42261</guid>
      <dc:creator>Rob Leadbeater</dc:creator>
      <dc:date>2010-09-30T14:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Fedora 13 Logical volume problem (points!)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-13-logical-volume-problem-points/m-p/4693476#M42262</link>
      <description>If you don't deactivate the LV it will do as you said.  Try the resize again after:&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/lvchange -v -a n vg_smarty/lv_home&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Oct 2010 00:18:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-13-logical-volume-problem-points/m-p/4693476#M42262</guid>
      <dc:creator>Randy Jones_3</dc:creator>
      <dc:date>2010-10-01T00:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Fedora 13 Logical volume problem (points!)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-13-logical-volume-problem-points/m-p/4693477#M42263</link>
      <description>Hi Randy,&lt;BR /&gt;&lt;BR /&gt;[root@smarty ~]# /sbin/lvchange -v -a n vg_smarty/lv_home&lt;BR /&gt;    Using logical volume(s) on command line&lt;BR /&gt;    Deactivating logical volume "lv_home"&lt;BR /&gt;    Found volume group "vg_smarty"&lt;BR /&gt;  LV vg_smarty/lv_home in use: not deactivating&lt;BR /&gt;&lt;BR /&gt;Does this mean I should switch to single user mode first, unmount /home and run this command again before trying the resize?&lt;BR /&gt;&lt;BR /&gt;Rob,&lt;BR /&gt;&lt;BR /&gt;[root@smarty ~]# vgdisplay -v vg_smarty&lt;BR /&gt;    Using volume group(s) on command line&lt;BR /&gt;    Finding volume group "vg_smarty"&lt;BR /&gt;  --- Volume group ---&lt;BR /&gt;  VG Name               vg_smarty&lt;BR /&gt;  System ID             &lt;BR /&gt;  Format                lvm2&lt;BR /&gt;  Metadata Areas        2&lt;BR /&gt;  Metadata Sequence No  6&lt;BR /&gt;  VG Access             read/write&lt;BR /&gt;  VG Status             resizable&lt;BR /&gt;  MAX LV                0&lt;BR /&gt;  Cur LV                3&lt;BR /&gt;  Open LV               3&lt;BR /&gt;  Max PV                0&lt;BR /&gt;  Cur PV                2&lt;BR /&gt;  Act PV                2&lt;BR /&gt;  VG Size               1.05 TiB&lt;BR /&gt;  PE Size               32.00 MiB&lt;BR /&gt;  Total PE              34561&lt;BR /&gt;  Alloc PE / Size       34545 / 1.05 TiB&lt;BR /&gt;  Free  PE / Size       16 / 512.00 MiB&lt;BR /&gt;  VG UUID               1uvt7r-Msd2-uIM3-H9ED-V0iq-TFeD-T9wLOu&lt;BR /&gt;   &lt;BR /&gt;  --- Logical volume ---&lt;BR /&gt;  LV Name                /dev/vg_smarty/lv_root&lt;BR /&gt;  VG Name                vg_smarty&lt;BR /&gt;  LV UUID                WKveRc-O4Zr-c5V4-Tl7o-FoE2-EPWL-PlaF77&lt;BR /&gt;  LV Write Access        read/write&lt;BR /&gt;  LV Status              available&lt;BR /&gt;  # open                 1&lt;BR /&gt;  LV Size                50.00 GiB&lt;BR /&gt;  Current LE             1600&lt;BR /&gt;  Segments               1&lt;BR /&gt;  Allocation             inherit&lt;BR /&gt;  Read ahead sectors     auto&lt;BR /&gt;  - currently set to     256&lt;BR /&gt;  Block device           253:1&lt;BR /&gt;   &lt;BR /&gt;  --- Logical volume ---&lt;BR /&gt;  LV Name                /dev/vg_smarty/lv_swap&lt;BR /&gt;  VG Name                vg_smarty&lt;BR /&gt;  LV UUID                UGnBQL-mDaa-eZAi-gzpU-JvGM-qG1Z-IhSvDQ&lt;BR /&gt;  LV Write Access        read/write&lt;BR /&gt;  LV Status              available&lt;BR /&gt;  # open                 1&lt;BR /&gt;  LV Size                13.81 GiB&lt;BR /&gt;  Current LE             442&lt;BR /&gt;  Segments               1&lt;BR /&gt;  Allocation             inherit&lt;BR /&gt;  Read ahead sectors     auto&lt;BR /&gt;  - currently set to     256&lt;BR /&gt;  Block device           253:2&lt;BR /&gt;   &lt;BR /&gt;  --- Logical volume ---&lt;BR /&gt;  LV Name                /dev/vg_smarty/lv_home&lt;BR /&gt;  VG Name                vg_smarty&lt;BR /&gt;  LV UUID                QuDevN-LD2D-wPu5-cGwX-eej9-ZMjx-n4cQaI&lt;BR /&gt;  LV Write Access        read/write&lt;BR /&gt;  LV Status              available&lt;BR /&gt;  # open                 1&lt;BR /&gt;  LV Size                1015.72 GiB&lt;BR /&gt;  Current LE             32503&lt;BR /&gt;  Segments               2&lt;BR /&gt;  Allocation             inherit&lt;BR /&gt;  Read ahead sectors     auto&lt;BR /&gt;  - currently set to     256&lt;BR /&gt;  Block device           253:5&lt;BR /&gt;   &lt;BR /&gt;  --- Physical volumes ---&lt;BR /&gt;  PV Name               /dev/dm-0     &lt;BR /&gt;  PV UUID               6N0cPs-vu36-1Ehv-2gU0-r1BJ-hcNu-Tftd22&lt;BR /&gt;  PV Status             allocatable&lt;BR /&gt;  Total PE / Free PE    4753 / 0&lt;BR /&gt;   &lt;BR /&gt;  PV Name               /dev/sdb1     &lt;BR /&gt;  PV UUID               myc99K-dnPw-gqcj-k5st-Ky6j-flrj-ywWcFc&lt;BR /&gt;  PV Status             allocatable&lt;BR /&gt;  Total PE / Free PE    29808 / 16&lt;BR /&gt;&lt;BR /&gt;[root@smarty ~]# pvdisplay&lt;BR /&gt;  --- Physical volume ---&lt;BR /&gt;  PV Name               /dev/dm-0&lt;BR /&gt;  VG Name               vg_smarty&lt;BR /&gt;  PV Size               148.56 GiB / not usable 28.03 MiB&lt;BR /&gt;  Allocatable           yes (but full)&lt;BR /&gt;  PE Size               32.00 MiB&lt;BR /&gt;  Total PE              4753&lt;BR /&gt;  Free PE               0&lt;BR /&gt;  Allocated PE          4753&lt;BR /&gt;  PV UUID               6N0cPs-vu36-1Ehv-2gU0-r1BJ-hcNu-Tftd22&lt;BR /&gt;   &lt;BR /&gt;  --- Physical volume ---&lt;BR /&gt;  PV Name               /dev/sdb1&lt;BR /&gt;  VG Name               vg_smarty&lt;BR /&gt;  PV Size               931.51 GiB / not usable 11.19 MiB&lt;BR /&gt;  Allocatable           yes &lt;BR /&gt;  PE Size               32.00 MiB&lt;BR /&gt;  Total PE              29808&lt;BR /&gt;  Free PE               16&lt;BR /&gt;  Allocated PE          29792&lt;BR /&gt;  PV UUID               myc99K-dnPw-gqcj-k5st-Ky6j-flrj-ywWcFc&lt;BR /&gt;&lt;BR /&gt;Thanks for help, Christian</description>
      <pubDate>Fri, 01 Oct 2010 05:15:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-13-logical-volume-problem-points/m-p/4693477#M42263</guid>
      <dc:creator>Christian Deutsch_1</dc:creator>
      <dc:date>2010-10-01T05:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Fedora 13 Logical volume problem (points!)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-13-logical-volume-problem-points/m-p/4693478#M42264</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I can't immediately see what's wrong there.&lt;BR /&gt;&lt;BR /&gt;The LV (lv_home) looks to have resized correctly...&lt;BR /&gt;&lt;BR /&gt;What's the physical configuration ?&lt;BR /&gt;I only ask as you have a mixture of plain SCSI and device mapper devices in the volume group...&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Rob</description>
      <pubDate>Fri, 01 Oct 2010 14:41:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-13-logical-volume-problem-points/m-p/4693478#M42264</guid>
      <dc:creator>Rob Leadbeater</dc:creator>
      <dc:date>2010-10-01T14:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Fedora 13 Logical volume problem (points!)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/fedora-13-logical-volume-problem-points/m-p/4693479#M42265</link>
      <description>Rob,&lt;BR /&gt;&lt;BR /&gt;Well as far as I can see they are two SATA disks, one is 160GB and one is 1TB in an HP XW8600 workstation, I don't know why Fedora is getting confused about them.&lt;BR /&gt;&lt;BR /&gt;Christian</description>
      <pubDate>Mon, 04 Oct 2010 05:07:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/fedora-13-logical-volume-problem-points/m-p/4693479#M42265</guid>
      <dc:creator>Christian Deutsch_1</dc:creator>
      <dc:date>2010-10-04T05:07:04Z</dc:date>
    </item>
  </channel>
</rss>

