<?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: File systems in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/file-systems/m-p/2584472#M857178</link>
    <description>Hi Claudio:&lt;BR /&gt;&lt;BR /&gt;Here is how you do what you want to give you multiple data paths for speed and alternate data paths for redundancy:&lt;BR /&gt;&lt;BR /&gt;D270 Controller 1 (SCSI ID 6) --&amp;gt; 12H Controller X --&amp;gt; A500 Controller 1 (SCSI ID 7)&lt;BR /&gt;&lt;BR /&gt;D270 Controller 2 (SCSI ID 6) --&amp;gt; 12H Controller Y --&amp;gt; A500 Controller 2 (SCSI ID 7)&lt;BR /&gt;&lt;BR /&gt;The FWD controllers on you D-box have jumpers to allow you to set the SCSI ID to a different value than the default 7.&lt;BR /&gt;&lt;BR /&gt;This is essentially how you would connect your 12H in a ServiceGuard cluster. Note that the two controllers must have different SVSI ID's and that the controllers serve as the terminators. MAKE CERTAIN THAT ONLY ONE OF THE HOSTS ACCESSES ANY GIVEN LUN. LUN's 0 &amp;amp; 1 could be could as a volume group for you D box and LUN's 2 &amp;amp; 3 could be used as a volume group for your A box. It is perfectly legal for boths hosts to have both volume groups active at the ssame time.&lt;BR /&gt;&lt;BR /&gt;If you have a volume group with two LUN's configured but both are now primary path'ed through 12H controller X, you can fix that as well. Do a vgchange a n /dev/vgxx and a vgexport -m /tmp/vgxx.map. Then recreate your /dev/vgxx directory and group file as usual. You then vgimport but on every other LUN reverse the order of the PV paths to make one LUN's primary path go through controller X (alternate Y) and the next LUN's primary path go through controller Y (alternate X). &lt;BR /&gt;&lt;BR /&gt;I hope I have been semi-clear, Clay</description>
    <pubDate>Wed, 03 Oct 2001 14:05:13 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2001-10-03T14:05:13Z</dc:date>
    <item>
      <title>File systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-systems/m-p/2584461#M857167</link>
      <description>Hi All!&lt;BR /&gt; using SAM, I can configure file system without problem, but I know that is possible to use command line and address which controller I want to use. It's true? How can I?&lt;BR /&gt;Thanx.</description>
      <pubDate>Tue, 25 Sep 2001 11:33:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-systems/m-p/2584461#M857167</guid>
      <dc:creator>Vogra</dc:creator>
      <dc:date>2001-09-25T11:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: File systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-systems/m-p/2584462#M857168</link>
      <description>Claudio,&lt;BR /&gt;&lt;BR /&gt;Believe me unless you are comfortable with what you are doing I would stay with SAM.  To do it manually via command line you need to be familiar with at least pvcraete, vgcreate, vgextend, lvcreate, lvextend, newfs plus many more commands. You also need to have a resonable understanding of your hardware layout so you know which path a particular disk in connected too.</description>
      <pubDate>Tue, 25 Sep 2001 11:42:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-systems/m-p/2584462#M857168</guid>
      <dc:creator>John Waller</dc:creator>
      <dc:date>2001-09-25T11:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: File systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-systems/m-p/2584463#M857169</link>
      <description>#vgcreate /dev/vg?? /dev/dsk/c?t?d? &lt;BR /&gt;#lvcreate -l &lt;SIZE of="" logical="" volume="" in="" mb=""&gt; /dev/vg?? &lt;BR /&gt;#newfs -F vxfs &lt;OR hfs=""&gt; /dev/vg??/lvol?? &lt;BR /&gt;#mkdir &lt;NAME of="" mount="" directory=""&gt; &lt;BR /&gt;#mount /dev/vg??/lvol?? /&lt;NAME of="" mount="" directory=""&gt; &lt;BR /&gt;then edit /etc/fstab so it is mounted automatically during boot&lt;/NAME&gt;&lt;/NAME&gt;&lt;/OR&gt;&lt;/SIZE&gt;</description>
      <pubDate>Tue, 25 Sep 2001 11:44:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-systems/m-p/2584463#M857169</guid>
      <dc:creator>Edward Alfert_2</dc:creator>
      <dc:date>2001-09-25T11:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: File systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-systems/m-p/2584464#M857170</link>
      <description>Claudio,&lt;BR /&gt;&lt;BR /&gt;I'm not entirely sure what you're trying to do, but if you're trying to create filesystem using the command line utilities, then you would do the following steps.&lt;BR /&gt;&lt;BR /&gt;find an unused disk:&lt;BR /&gt;ioscan -kfnC disk  #lists all the disks on the system&lt;BR /&gt;strings /etc/lvmtab|grep dsk # lists disks that are used on the system&lt;BR /&gt;&lt;BR /&gt;Using one of the disks NOT reported by the strings command:&lt;BR /&gt;&lt;BR /&gt;pvcreate /dev/rdsk/c#t#d# # where c#t#d# is one of the disks shown above&lt;BR /&gt;&lt;BR /&gt;create the VG&lt;BR /&gt;mkdir /dev/vg??&lt;BR /&gt;mknod /dev/vg??/group c 64 0x0nn0000&lt;BR /&gt;&lt;BR /&gt;where vg?? is the name of the VG that you're trying to create and nn is unique minor number (determined by checking ll /dev/*/group)&lt;BR /&gt;&lt;BR /&gt;vgcreate /dev/vg?? /dev/dsk/c#t#d#&lt;BR /&gt;vgchange -a y vg??&lt;BR /&gt;&lt;BR /&gt;then create the LVs and filesystems&lt;BR /&gt;&lt;BR /&gt;lvcreate -L ## /dev/vg??&lt;BR /&gt;newfs -F vxfs /dev/vg??/lvol??&lt;BR /&gt;mount /dev/vg??/lvol?? /&lt;MOUNT point=""&gt;&lt;BR /&gt;&lt;BR /&gt;where ## is the size of the LV you're creating, vg?? is the VG created in the previous steps, and /dev/vg??/lvol?? is the LV created in the lvcreate step and mountpoint is where  you're trying to mount the filesystem.&lt;BR /&gt;&lt;BR /&gt;For more information on this check the Managine Systems and Workgroups docs at:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com:80/hpux/onlinedocs/B2355-90742/B2355-90742.html" target="_blank"&gt;http://docs.hp.com:80/hpux/onlinedocs/B2355-90742/B2355-90742.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Santosh&lt;/MOUNT&gt;</description>
      <pubDate>Tue, 25 Sep 2001 11:50:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-systems/m-p/2584464#M857170</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-09-25T11:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: File systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-systems/m-p/2584465#M857171</link>
      <description>Hi Claudio,&lt;BR /&gt;&lt;BR /&gt;Have a look at the thread below.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90742/B2355-90742_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90742/00/00/49-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90742/00/00/49-toc.html&amp;amp;searchterms=file%20system&amp;amp;queryid=20010925-060144" target="_blank"&gt;http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90742/B2355-90742_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90742/00/00/49-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90742/00/00/49-toc.html&amp;amp;searchterms=file%20system&amp;amp;queryid=20010925-060144&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Look for more manual at docs.hp.com&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Sep 2001 12:01:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-systems/m-p/2584465#M857171</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-09-25T12:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: File systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-systems/m-p/2584466#M857172</link>
      <description>Hi All!&lt;BR /&gt; I have an A500 server (hpux11.0) and an array 12H with two controllers. Today only one controller is in use. I will connect he second and I would like to balance the load through the controller. But, if the system can do it automatically, no problem (I think not). How about?&lt;BR /&gt;Thanx.</description>
      <pubDate>Tue, 25 Sep 2001 12:29:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-systems/m-p/2584466#M857172</guid>
      <dc:creator>Vogra</dc:creator>
      <dc:date>2001-09-25T12:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: File systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-systems/m-p/2584467#M857173</link>
      <description>This is what i currently do.&lt;BR /&gt;&lt;BR /&gt;I have a D390 with 2 controller and 2 external storage enclosures (each with 7 harddrives).&lt;BR /&gt;&lt;BR /&gt;I'm striping accross multiple disks to increase performance (the vg with the database is striped accross 4 drives).&lt;BR /&gt;&lt;BR /&gt;Then i have Mirror/UX and i am mirroring the two for safety as well as additional performance.  It will read the first available.&lt;BR /&gt;&lt;BR /&gt;i have created separate physical volumes and when i mirror the drives i tell it to pick one copy from each physical volume so that one each is on separate controllers, separte external units, and of course separate harddrives.&lt;BR /&gt;&lt;BR /&gt;Although you can use command line to do all this, because of the complexity i used SAM.  Very easy to do that way.  I don't mind doing simple creation of lvol or vg using command line but something like the above i always use SAM.</description>
      <pubDate>Tue, 25 Sep 2001 13:01:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-systems/m-p/2584467#M857173</guid>
      <dc:creator>Edward Alfert_2</dc:creator>
      <dc:date>2001-09-25T13:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: File systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-systems/m-p/2584468#M857174</link>
      <description>Hi Claudio,&lt;BR /&gt;&lt;BR /&gt;The system does not do it automatically, you have to manually set it up at vg creation.  The best way I have found is a recommendation from King Clay.&lt;BR /&gt;&lt;BR /&gt;1.  You should only have 2 luns of equal size on your raid.  Striping of the disk is done automatically on the autoraid.  Try not to use more the 60% of the available disk space to maintain 0/1 raid level.&lt;BR /&gt;2.  Run ioscan -fnC disk.  You will notice 2 paths to each lun.&lt;BR /&gt;&lt;BR /&gt;such as&lt;BR /&gt;lun on scsi id 0 may be&lt;BR /&gt;/dev/dsk/c1t2d0&lt;BR /&gt;/dev/dsk/c2t1d0&lt;BR /&gt;lun on scsi id 1 may be&lt;BR /&gt;/dev/dsk/c1t2d1&lt;BR /&gt;/dev/dsk/c2t1d1&lt;BR /&gt;&lt;BR /&gt;2.  Get the pv ready for vg&lt;BR /&gt;    pvcreate /dev/rdsk/c1t2d0&lt;BR /&gt;    pvcreate /dev/rdsk/c1t2d1&lt;BR /&gt;3.  create your group files&lt;BR /&gt;    umask 022&lt;BR /&gt;    cd /dev&lt;BR /&gt;    mkdir vgraid1&lt;BR /&gt;    cd vgraid1&lt;BR /&gt;    mknod group c 64 0x??0000&lt;BR /&gt;    chmod 644 group&lt;BR /&gt;4.  create vg&lt;BR /&gt;    vgcreate /dev/vgraid1 /dev/dsk/c1t2d0 /dev/dsk/c2t1d0&lt;BR /&gt;vgchange -a y /dev/vgraid1&lt;BR /&gt;&lt;BR /&gt;5. extend your vg vgextend /dev/vgraid1 /dev/dsk/c1t2d1 /dev/dsk/c2t1d1&lt;BR /&gt;&lt;BR /&gt;6.  create your lv's&lt;BR /&gt;&lt;BR /&gt;lvcreate -i 2 -I 64 -L size_in_mb -n lvol? /dev/vgraid1&lt;BR /&gt;&lt;BR /&gt;7.  create the fs&lt;BR /&gt;newfs -F vxfs /dev/vgraid1/rlvol?&lt;BR /&gt;&lt;BR /&gt;8.  create the mount point&lt;BR /&gt;mkdir /mountpoint_name&lt;BR /&gt;&lt;BR /&gt;9.  mount the fs&lt;BR /&gt;mount -F vxfs /dev/vgraid1/lvol? /mountpoint_name&lt;BR /&gt;&lt;BR /&gt;10.  add entry to /etc/fstab&lt;BR /&gt;&lt;BR /&gt;11.  change the timeout for the devices.  The raid needs a larger timeout than the default.&lt;BR /&gt;&lt;BR /&gt;    pvchange -t 120 /dev/rdsk/c1t2d0&lt;BR /&gt;    pvchange -t 120 /dev/rdsk/c1t2d1&lt;BR /&gt;&lt;BR /&gt;This is just a rough example of what I do, mostly based on several post.  It works great.  Data is spread over both controlers in 64K chunks.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;...jcd...&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Sep 2001 14:08:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-systems/m-p/2584468#M857174</guid>
      <dc:creator>Joseph C. Denman</dc:creator>
      <dc:date>2001-09-25T14:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: File systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-systems/m-p/2584469#M857175</link>
      <description>HI&lt;BR /&gt;Certainly you can create filesystems using command line.&lt;BR /&gt;1. First find the available disks using &lt;BR /&gt;#ioscan -fnC disk &lt;BR /&gt;2. Locate the free disks, if you are not sure, you may have to use pvdisplay on each disk to find out if it's free. &lt;BR /&gt;3. Then #&lt;BR /&gt;pvcreate /dev/rdsk/c#t#d# &lt;BR /&gt;4. Create the VG &lt;BR /&gt;#mkdir /dev/vg?? &lt;BR /&gt;find out the next free group number.&lt;BR /&gt;#ls -l /dev/*/group will list all group files in system.&lt;BR /&gt;#mknod /dev/vg??/group c 64 0x0nn0000 &lt;BR /&gt;#vgcreate /dev/vg?? /dev/dsk/c#t#d# &lt;BR /&gt;#vgchange -a y vg?? &lt;BR /&gt;&lt;BR /&gt;5.Create the LVs and filesystems &lt;BR /&gt;&lt;BR /&gt;#lvcreate -L ## /dev/vg?? &lt;BR /&gt;#newfs -F vxfs /dev/vg??/lvol?? &lt;BR /&gt;#mount /dev/vg??/lvol?? /&lt;MOUNT point=""&gt; &lt;BR /&gt;6. Add entries in /etc/fstab for created filesystems.&lt;BR /&gt;7. Add alternate links if any using vgextend command.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;All above command have different options, the default options might be different from you might need in environment.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;BR /&gt;Prashant. &lt;BR /&gt;&lt;BR /&gt;&lt;/MOUNT&gt;</description>
      <pubDate>Tue, 25 Sep 2001 14:46:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-systems/m-p/2584469#M857175</guid>
      <dc:creator>Deshpande Prashant</dc:creator>
      <dc:date>2001-09-25T14:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: File systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-systems/m-p/2584470#M857176</link>
      <description>Claudio,&lt;BR /&gt;&lt;BR /&gt;You didn't mention before you had a 12H array.  I presume it works similar to an FC60, if so then consider the following idea. &lt;BR /&gt;&lt;BR /&gt;Try using alternate links.  &lt;BR /&gt;&lt;BR /&gt;You will have already partitioned your array using the array manager software so you have a number of smaller partitions which are accessed by the HP as single disk devices (i.e /dev/dsk/c1t1d0, /dev/dsk/c1t2d0 etc.), where the number after the c indicates the controller on the server. I believe that when you connect your second controller you will see extra disk devices added (/dev/dsk/c2t1d0 , /dev/dsk/c2t2d0 etc.). where the t1d0 part of the device corresponds to the relevent c1 device. Using the vgextend command, add these to you volume groups as follows ensuring you match the correct controller 1 device with the coresponding controller 2 device. &lt;BR /&gt;&lt;BR /&gt;# vgextend  /dev/vgnn /dev/dsk/c?t?d?&lt;BR /&gt;&lt;BR /&gt;This way if you loose a contoller you can still access your data via the second controller.  To balance the load more evenly when you create your VG's alternate which device you add first &lt;BR /&gt; e.g.&lt;BR /&gt;&lt;BR /&gt;1st VG craete with c1t1d0 and extend with c2t1d0 , &lt;BR /&gt;2nd VG create with c2t2d0 and extend with c1t2d0&lt;BR /&gt;3rd VG create with c1t3d0 and extend with c2t3d0&lt;BR /&gt;&lt;BR /&gt;etc. etc. etc.&lt;BR /&gt;&lt;BR /&gt;I hope this is what you are looking for.</description>
      <pubDate>Wed, 26 Sep 2001 06:34:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-systems/m-p/2584470#M857176</guid>
      <dc:creator>John Waller</dc:creator>
      <dc:date>2001-09-26T06:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: File systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-systems/m-p/2584471#M857177</link>
      <description>Hi John!&lt;BR /&gt; I have been reading some materials about it.  about my system... I had a D270/2 connected to an array 12H. This connetion had two cables of data(controller X and Y). Then, I had to connect an A500 server to the same array, it was done through controller X and the D270/2 keep using the controller Y. It situation was not supported from HP, but I had to do it.&lt;BR /&gt;Well, I migrate the systems (ERP/ORACLE) from D270/2 to A500 and now I have to reconnect the second cable from A500 server to array, to restabilish redundant controller connection. But, (I said but,) I heard that is possible to especificate how controller I want to be used to connect to specific disk (and some people already show me how to). Now, my doubt is: if I already have the file system configured, it's possible to change the controller that access one (or more) disk ?&lt;BR /&gt;thanx in advance.</description>
      <pubDate>Wed, 03 Oct 2001 13:22:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-systems/m-p/2584471#M857177</guid>
      <dc:creator>Vogra</dc:creator>
      <dc:date>2001-10-03T13:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: File systems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-systems/m-p/2584472#M857178</link>
      <description>Hi Claudio:&lt;BR /&gt;&lt;BR /&gt;Here is how you do what you want to give you multiple data paths for speed and alternate data paths for redundancy:&lt;BR /&gt;&lt;BR /&gt;D270 Controller 1 (SCSI ID 6) --&amp;gt; 12H Controller X --&amp;gt; A500 Controller 1 (SCSI ID 7)&lt;BR /&gt;&lt;BR /&gt;D270 Controller 2 (SCSI ID 6) --&amp;gt; 12H Controller Y --&amp;gt; A500 Controller 2 (SCSI ID 7)&lt;BR /&gt;&lt;BR /&gt;The FWD controllers on you D-box have jumpers to allow you to set the SCSI ID to a different value than the default 7.&lt;BR /&gt;&lt;BR /&gt;This is essentially how you would connect your 12H in a ServiceGuard cluster. Note that the two controllers must have different SVSI ID's and that the controllers serve as the terminators. MAKE CERTAIN THAT ONLY ONE OF THE HOSTS ACCESSES ANY GIVEN LUN. LUN's 0 &amp;amp; 1 could be could as a volume group for you D box and LUN's 2 &amp;amp; 3 could be used as a volume group for your A box. It is perfectly legal for boths hosts to have both volume groups active at the ssame time.&lt;BR /&gt;&lt;BR /&gt;If you have a volume group with two LUN's configured but both are now primary path'ed through 12H controller X, you can fix that as well. Do a vgchange a n /dev/vgxx and a vgexport -m /tmp/vgxx.map. Then recreate your /dev/vgxx directory and group file as usual. You then vgimport but on every other LUN reverse the order of the PV paths to make one LUN's primary path go through controller X (alternate Y) and the next LUN's primary path go through controller Y (alternate X). &lt;BR /&gt;&lt;BR /&gt;I hope I have been semi-clear, Clay</description>
      <pubDate>Wed, 03 Oct 2001 14:05:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-systems/m-p/2584472#M857178</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-10-03T14:05:13Z</dc:date>
    </item>
  </channel>
</rss>

