<?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 Error creating mirrored file system in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/error-creating-mirrored-file-system/m-p/2620518#M645883</link>
    <description>Hello experts,&lt;BR /&gt;&lt;BR /&gt;I was creating a new Mirrored File system on my server using SAM when i got the following error message:&lt;BR /&gt;----------------------------------------------&lt;BR /&gt;The command used to create logical volumes, /sbin/lvcreate, has&lt;BR /&gt;failed.  The stderr output from the command is shown below.  The&lt;BR /&gt;logical volume has not been created.&lt;BR /&gt;&lt;BR /&gt;lvcreate: Not enough free physical extents available.&lt;BR /&gt;Logical volume "/dev/vg00/lv_d06" could not be extended.&lt;BR /&gt;Run the "lvextend" command to add mirror copies to the Logical&lt;BR /&gt;Volume.&lt;BR /&gt;----------------------------------------------&lt;BR /&gt;&lt;BR /&gt;Is there a way to create these file systems manually? How do i know if there are enough space available for creating the mirrored file system? My VG00 and VG01 have each 2 disk (18GB)&lt;BR /&gt;&lt;BR /&gt;thank you  for your replies&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj&lt;BR /&gt;</description>
    <pubDate>Tue, 27 Nov 2001 05:35:57 GMT</pubDate>
    <dc:creator>Yogeeraj_1</dc:creator>
    <dc:date>2001-11-27T05:35:57Z</dc:date>
    <item>
      <title>Error creating mirrored file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-creating-mirrored-file-system/m-p/2620518#M645883</link>
      <description>Hello experts,&lt;BR /&gt;&lt;BR /&gt;I was creating a new Mirrored File system on my server using SAM when i got the following error message:&lt;BR /&gt;----------------------------------------------&lt;BR /&gt;The command used to create logical volumes, /sbin/lvcreate, has&lt;BR /&gt;failed.  The stderr output from the command is shown below.  The&lt;BR /&gt;logical volume has not been created.&lt;BR /&gt;&lt;BR /&gt;lvcreate: Not enough free physical extents available.&lt;BR /&gt;Logical volume "/dev/vg00/lv_d06" could not be extended.&lt;BR /&gt;Run the "lvextend" command to add mirror copies to the Logical&lt;BR /&gt;Volume.&lt;BR /&gt;----------------------------------------------&lt;BR /&gt;&lt;BR /&gt;Is there a way to create these file systems manually? How do i know if there are enough space available for creating the mirrored file system? My VG00 and VG01 have each 2 disk (18GB)&lt;BR /&gt;&lt;BR /&gt;thank you  for your replies&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Nov 2001 05:35:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-creating-mirrored-file-system/m-p/2620518#M645883</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2001-11-27T05:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating mirrored file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-creating-mirrored-file-system/m-p/2620519#M645884</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The first thing you need to do is&lt;BR /&gt;work out if you have enough space.&lt;BR /&gt;To do this you need to use the &lt;BR /&gt;output of 'vgdisplay' to see&lt;BR /&gt;&lt;BR /&gt;For example on my server here I have&lt;BR /&gt;this output, where the number of &lt;BR /&gt;free PE is the number of extents&lt;BR /&gt;available. If this number is less&lt;BR /&gt;than the Alloc PE you can mirror&lt;BR /&gt;all of the logical volumes in this&lt;BR /&gt;group easily. If the number is less&lt;BR /&gt;then I suggest you post the output of&lt;BR /&gt;'vgdisplay -v' so we can view the output.&lt;BR /&gt;I think that you are trying to mirror&lt;BR /&gt;to the same disk and that is why it is&lt;BR /&gt;coming up with the error. The number of &lt;BR /&gt;disks is shown in the row of 'Cur LV'&lt;BR /&gt;&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vg00&lt;BR /&gt;VG Write Access             read/write     &lt;BR /&gt;VG Status                   available                 &lt;BR /&gt;Max LV                      255    &lt;BR /&gt;Cur LV                      8      &lt;BR /&gt;Open LV                     8      &lt;BR /&gt;Max PV                      16     &lt;BR /&gt;Cur PV                      2      &lt;BR /&gt;Act PV                      2      &lt;BR /&gt;Max PE per PV               4350         &lt;BR /&gt;VGDA                        4   &lt;BR /&gt;PE Size (Mbytes)            8               &lt;BR /&gt;Total PE                    8680    &lt;BR /&gt;Alloc PE                    1546    &lt;BR /&gt;Free PE                     7134    &lt;BR /&gt;Total PVG                   0        &lt;BR /&gt;Total Spare PVs             0              &lt;BR /&gt;Total Spare PVs in use      0&lt;BR /&gt;&lt;BR /&gt;To create a mirrored copy of this you&lt;BR /&gt;need to first have a second disk allocated&lt;BR /&gt;to the volume group. Have a look at the&lt;BR /&gt;information that I posted in this thread&lt;BR /&gt;yesterday. To do a second volume group the same rules apply.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x61dc9200caded5118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x61dc9200caded5118ff40090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;-Michael</description>
      <pubDate>Tue, 27 Nov 2001 05:54:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-creating-mirrored-file-system/m-p/2620519#M645884</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-11-27T05:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating mirrored file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-creating-mirrored-file-system/m-p/2620520#M645885</link>
      <description>Hi (again),&lt;BR /&gt;&lt;BR /&gt;In my previous post I suggested that &lt;BR /&gt;"the same rules" apply when mirroring&lt;BR /&gt;subsequent logical volumes and groups.&lt;BR /&gt;When you are mirroring vg01 for example&lt;BR /&gt;you do not use the 'mkboot' commands.&lt;BR /&gt;&lt;BR /&gt;-Michael</description>
      <pubDate>Tue, 27 Nov 2001 06:02:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-creating-mirrored-file-system/m-p/2620520#M645885</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-11-27T06:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating mirrored file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-creating-mirrored-file-system/m-p/2620521#M645886</link>
      <description />
      <pubDate>Tue, 27 Nov 2001 06:13:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-creating-mirrored-file-system/m-p/2620521#M645886</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2001-11-27T06:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating mirrored file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-creating-mirrored-file-system/m-p/2620522#M645887</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The volumes that have the allocated PE&lt;BR /&gt;as double the number of Current LE&lt;BR /&gt;indicate that these are mirrored. &lt;BR /&gt;&lt;BR /&gt;Neither of your volume groups have &lt;BR /&gt;enough free PE to mirror all of the&lt;BR /&gt;volumes. For the most part, you will&lt;BR /&gt;need to find out which volumes require&lt;BR /&gt;the mirroring over others, or additionally&lt;BR /&gt;add further disk to mirror the lot.&lt;BR /&gt;&lt;BR /&gt;It looks like /dev/vg00 has the operating&lt;BR /&gt;system already mirrored. You can check&lt;BR /&gt;this by running the 'lvlnboot -v' command.&lt;BR /&gt;If the output is like the below, no problem.&lt;BR /&gt;If it is not, please post the output of that.&lt;BR /&gt;&lt;BR /&gt;# lvlnboot -v&lt;BR /&gt;Boot Definitions for Volume Group /dev/vg00:&lt;BR /&gt;Physical Volumes belonging in Root Volume Group:&lt;BR /&gt;        /dev/dsk/c1t15d0 (0/0/1/1.15.0) -- Boot Disk&lt;BR /&gt;        /dev/dsk/c3t15d0 (0/0/2/1.15.0) -- Boot Disk&lt;BR /&gt;Boot: lvol1     on:     /dev/dsk/c1t15d0&lt;BR /&gt;                        /dev/dsk/c3t15d0&lt;BR /&gt;Root: lvol3     on:     /dev/dsk/c1t15d0&lt;BR /&gt;                        /dev/dsk/c3t15d0&lt;BR /&gt;Swap: lvol2     on:     /dev/dsk/c1t15d0&lt;BR /&gt;                        /dev/dsk/c3t15d0&lt;BR /&gt;Dump: lvol2     on:     /dev/dsk/c1t15d0, 0&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;-Michael&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Nov 2001 06:24:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-creating-mirrored-file-system/m-p/2620522#M645887</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-11-27T06:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating mirrored file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-creating-mirrored-file-system/m-p/2620523#M645888</link>
      <description>Hi again Michael,&lt;BR /&gt;&lt;BR /&gt;Please find below, the output you asked. I guess my boot disk are already mirrorred.&lt;BR /&gt;&lt;BR /&gt;What are recommended steps? I normally use SAM. Is it better to do it manually from the command prompt? For sure it is not recommended to mirror LVs on the same disks. I guess i will need to first verify how much space is left on the other disk before creating a mirrored LV.&lt;BR /&gt;&lt;BR /&gt;In SAM, i don't recall having come across any section where it tell me where i will be putting my mirror!! Cn you please tell me how will i know if the mirrored LV will be on same disk or the other disk from the same VG?&lt;BR /&gt;&lt;BR /&gt;One more question. If i do swlist, will i know if i have Online JFS on my system?&lt;BR /&gt;If i don't have it, which of these options for mounting my file system will not work"&lt;BR /&gt;-o rw,suid,delaylog,nodatainlog&lt;BR /&gt;-o rw,suid,convosync=direct,mincache=direct,delaylog,nodatainlog&lt;BR /&gt;&lt;BR /&gt;Thanks a lot again&lt;BR /&gt;&lt;BR /&gt;Kind regards&lt;BR /&gt;Yogeeraj&lt;BR /&gt;----------------------------------------------&lt;BR /&gt;# lvlnboot -v&lt;BR /&gt;Boot Definitions for Volume Group /dev/vg00:&lt;BR /&gt;Physical Volumes belonging in Root Volume Group:&lt;BR /&gt;        /dev/dsk/c1t2d0 (0/0/1/1.2.0) -- Boot Disk&lt;BR /&gt;        /dev/dsk/c2t2d0 (0/0/2/0.2.0) -- Boot Disk&lt;BR /&gt;Boot: lvol1     on:     /dev/dsk/c1t2d0&lt;BR /&gt;                        /dev/dsk/c2t2d0&lt;BR /&gt;Root: lvol3     on:     /dev/dsk/c1t2d0&lt;BR /&gt;                        /dev/dsk/c2t2d0&lt;BR /&gt;Swap: lvol2     on:     /dev/dsk/c1t2d0&lt;BR /&gt;                        /dev/dsk/c2t2d0&lt;BR /&gt;Dump: lvol2     on:     /dev/dsk/c1t2d0, 0&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Nov 2001 07:27:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-creating-mirrored-file-system/m-p/2620523#M645888</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2001-11-27T07:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating mirrored file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-creating-mirrored-file-system/m-p/2620524#M645889</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;First off, the output of 'lvlnboot' is exactly &lt;BR /&gt;what you need, so no problems there. When doing&lt;BR /&gt;any sort of LVM maintenance it always better &lt;BR /&gt;to do at the command line level if you can. One&lt;BR /&gt;other advantage of this is that you have total&lt;BR /&gt;control of what is going on. SAM will not do &lt;BR /&gt;everything, but most things.&lt;BR /&gt;&lt;BR /&gt;To check you can run the 'lvdisplay -v /dev/vgxx/yourlv'&lt;BR /&gt;to find exactly what disks are being used as&lt;BR /&gt;the mirror.&lt;BR /&gt;&lt;BR /&gt;To check on On-Line JFS, you can run the 'swlist'&lt;BR /&gt;command, i.e. swlist -l product&lt;BR /&gt;&lt;BR /&gt;We don't have on-line JFS, but I am fairly sure you need it for option 2.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;-Michael</description>
      <pubDate>Tue, 27 Nov 2001 08:09:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-creating-mirrored-file-system/m-p/2620524#M645889</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-11-27T08:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating mirrored file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-creating-mirrored-file-system/m-p/2620525#M645890</link>
      <description>Hi Yoogeraj...&lt;BR /&gt;&lt;BR /&gt;I have attached a file for your reference.&lt;BR /&gt;&lt;BR /&gt;Hope this will be useful for your mirroring</description>
      <pubDate>Tue, 27 Nov 2001 08:09:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-creating-mirrored-file-system/m-p/2620525#M645890</guid>
      <dc:creator>Mary Ann Lipa</dc:creator>
      <dc:date>2001-11-27T08:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating mirrored file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-creating-mirrored-file-system/m-p/2620526#M645891</link>
      <description>hello michael,&lt;BR /&gt;&lt;BR /&gt;In the "vgdisplay -v", that i posted previosuly, i find something rather strange. Can you please explain to me this part?&lt;BR /&gt;=================================&lt;BR /&gt;LV Name /dev/vg00/lv_d01 &lt;BR /&gt;LV Status available/syncd &lt;BR /&gt;LV Size (Mbytes) 5120 &lt;BR /&gt;Current LE 1280 &lt;BR /&gt;Allocated PE 768 &lt;BR /&gt;Used PV 1 &lt;BR /&gt;&lt;BR /&gt;LV Name /dev/vg00/lv_d01 &lt;BR /&gt;LV Status available/syncd &lt;BR /&gt;LV Size (Mbytes) 5120 &lt;BR /&gt;Current LE 1280 &lt;BR /&gt;Allocated PE 1280 &lt;BR /&gt;Used PV 2 &lt;BR /&gt;=================================&lt;BR /&gt;BDF shows me lv_d01 mounted on /d01&lt;BR /&gt;# bdf&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lv_d01   5242880 5015703  213000   96% /d01&lt;BR /&gt;=================================&lt;BR /&gt;&lt;BR /&gt;The thing is that i will need to review all my file systems since my server will soon be going live. I need to have all my Oracle FS to be mirrored. I will need to remove some temporary LVs. I don't think i can add additional internal disks - I have a L-class.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Yogeeraj&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Nov 2001 08:26:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-creating-mirrored-file-system/m-p/2620526#M645891</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2001-11-27T08:26:00Z</dc:date>
    </item>
  </channel>
</rss>

