<?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: Upgrade of hard disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180776#M874310</link>
    <description>hi,&lt;BR /&gt;   thanks to all who have helped.&lt;BR /&gt;&lt;BR /&gt;   do u all mean i don't have to create database in the new disk?  and moving/copying database means moving of cold backups eg data files etc?  and most solutions mean i don't use the old data disk anymore?&lt;BR /&gt;&lt;BR /&gt;   thanks in advance, sorry for asking probably qns with obvious ans, i've little knowledge in this.</description>
    <pubDate>Tue, 03 Feb 2004 00:18:27 GMT</pubDate>
    <dc:creator>greenpiece</dc:creator>
    <dc:date>2004-02-03T00:18:27Z</dc:date>
    <item>
      <title>Upgrade of hard disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180771#M874305</link>
      <description>Hi,&lt;BR /&gt;   i'm working on a hp-ux machine and was told to upgrade hard disk to a bigger size because of space is running out.  oracle server used is 7.something.&lt;BR /&gt;&lt;BR /&gt;   which is a better way, to create a new database in the new hard disk and migrate data from old to new database?  or to add hard disk and move certain files, maybe data files, to new hard disk?&lt;BR /&gt;&lt;BR /&gt;   sorry for the vague versions of hp-ux and oracle software used bec i've no access to it at the moment.&lt;BR /&gt;&lt;BR /&gt;   thanks in advance!</description>
      <pubDate>Mon, 02 Feb 2004 21:18:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180771#M874305</guid>
      <dc:creator>greenpiece</dc:creator>
      <dc:date>2004-02-02T21:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade of hard disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180772#M874306</link>
      <description>If you have room in your drive cage/enclose for another drive:&lt;BR /&gt;&lt;BR /&gt;install the drive.&lt;BR /&gt;&lt;BR /&gt;ioscan -fnC disk&lt;BR /&gt;ioscan&lt;BR /&gt;insf -e&lt;BR /&gt;&lt;BR /&gt;pvcreate -b /dev/rdsk/c#t#d# #make the numbers real&lt;BR /&gt;&lt;BR /&gt;vgextend /dev/vg01 /dev/dsk/c#t#d#&lt;BR /&gt;lvcreate -C y /dev/vg01 #pick a real vg&lt;BR /&gt;# the name will be displayed&lt;BR /&gt;lvextend -L &lt;SIZE in="" megabytes=""&gt; /dev/vg01/name_that_was_displayed&lt;BR /&gt;newfs -F vxfs -0 largefiles /dev/vg01/rname_that_was_displayed&lt;BR /&gt;&lt;BR /&gt;mount the filestem&lt;BR /&gt;shut down the databaes&lt;BR /&gt;mv or copy the databse to the new fileystem&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;unmount both filesystems&lt;BR /&gt;change /etc/fstab so the mount of the old filesystem name is pointing to the newly created logical volume&lt;BR /&gt;&lt;BR /&gt;You are done.&lt;BR /&gt;&lt;BR /&gt;Back up with the database down before you start.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/SIZE&gt;</description>
      <pubDate>Mon, 02 Feb 2004 23:18:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180772#M874306</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-02-02T23:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade of hard disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180773#M874307</link>
      <description>create a new file system in the new drive.&lt;BR /&gt;&lt;BR /&gt;shutdown all oracle services&lt;BR /&gt;&lt;BR /&gt;copy all oracle files to the new file system created on the new drive.&lt;BR /&gt;&lt;BR /&gt;umount the old drive file system.&lt;BR /&gt;&lt;BR /&gt;Re-mount the new file system created on the new drive with the old mount point.&lt;BR /&gt;&lt;BR /&gt;THanks</description>
      <pubDate>Mon, 02 Feb 2004 23:59:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180773#M874307</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-02-02T23:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade of hard disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180774#M874308</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;One problem is that you may not be able to add this bigger harddisk to an existing volume group (unless you have a disk of same or bigger size). &lt;BR /&gt;&lt;BR /&gt;You can simply create another volume group with filesystems and add|move the datafiles over to them. &lt;BR /&gt;&lt;BR /&gt;ioscan -f&lt;BR /&gt;insf&lt;BR /&gt;ioscan -fnC disk (identify the disk say c2t5d0&lt;BR /&gt;&lt;BR /&gt;#mkdir /dev/vg02 &lt;BR /&gt;#mknod /dev/vg02/group c 64 0x0?0000 (replace vg02 with your choice and ? should be a uniq number can be picked up using ll /dev/*/group)&lt;BR /&gt;#pvcreate /dev/rdsk/c2t5d0&lt;BR /&gt;#vgcreate -s 16 -p 128 -l 255 vg02 /dev/dsk/c2t5d0&lt;BR /&gt;#lvcreate -n db201 -L 1000 vg02&lt;BR /&gt;#newfs -F vxfs /dev/vg02/rdb201&lt;BR /&gt;#mkdir /db201&lt;BR /&gt;#mount /dev/vg02/db201 /db201&lt;BR /&gt;&lt;BR /&gt;Update your /etc/fstab to add this filesystem.&lt;BR /&gt;&lt;BR /&gt;Repeat the above process for your choice of filesystems and their sizes. &lt;BR /&gt;&lt;BR /&gt;If you do have a bigger disk in the existing volume group (say vg01), then you can add this disk to it and extend the filesystems.&lt;BR /&gt;&lt;BR /&gt;#pvcreate /dev/rdsk/c0t5d0&lt;BR /&gt;#vgextend vg01 /dev/dsk/c0t5d0&lt;BR /&gt;#umount /dev/vg01/lvol1 (make sure no processes access this logical volume&lt;BR /&gt;#lvextend -L new_size_in_mb /dev/vg01/lvol1&lt;BR /&gt;#extendfs /dev/vg01/lvol1&lt;BR /&gt;#mount /dev/vg01/lvol1&lt;BR /&gt;&lt;BR /&gt;Now the filesystem that has lvol1 mounted will have more space.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 03 Feb 2004 00:00:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180774#M874308</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-02-03T00:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade of hard disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180775#M874309</link>
      <description>As usual, Sri is correct.&lt;BR /&gt;&lt;BR /&gt;If the volume group can't accomodate the larger disk, you'll have to build a new volume group for the new disk, logical volume and fileystem.&lt;BR /&gt;&lt;BR /&gt;You'll need to be prepared to build a new volume group if you run out of extents in the volume group the database is in.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt; SYNOPSIS&lt;BR /&gt;      /usr/sbin/vgcreate [-f] [-A autobackup] [-x extensibility] [-e max_pe]&lt;BR /&gt;           [-l max_lv] [-p max_pv] [-s pe_size] [-g pvg_name] vg_name&lt;BR /&gt;           pv_path ...&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-p max_pe and -s pe_size bumped up to 16 allows for more disk to be accomodated in a volume group.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Feb 2004 00:11:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180775#M874309</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-02-03T00:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade of hard disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180776#M874310</link>
      <description>hi,&lt;BR /&gt;   thanks to all who have helped.&lt;BR /&gt;&lt;BR /&gt;   do u all mean i don't have to create database in the new disk?  and moving/copying database means moving of cold backups eg data files etc?  and most solutions mean i don't use the old data disk anymore?&lt;BR /&gt;&lt;BR /&gt;   thanks in advance, sorry for asking probably qns with obvious ans, i've little knowledge in this.</description>
      <pubDate>Tue, 03 Feb 2004 00:18:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180776#M874310</guid>
      <dc:creator>greenpiece</dc:creator>
      <dc:date>2004-02-03T00:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade of hard disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180777#M874311</link>
      <description>Yes,you are right.Not only cold backup(movement) but also you can move all oracle related installation files,database files by making the oracle services down.&lt;BR /&gt;&lt;BR /&gt;everything will work fine if done this way by mounting the new file system on hte old mount point.&lt;BR /&gt;&lt;BR /&gt;Also make sure about the good point made above.&lt;BR /&gt;The max_pe on the VG will be based on the largest disk during the VG creation.&lt;BR /&gt;&lt;BR /&gt;If you are upgrading the disk you can create a new vg which will use the MAX_PE based on teh new disk.&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Feb 2004 00:29:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180777#M874311</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-02-03T00:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade of hard disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180778#M874312</link>
      <description>hi,&lt;BR /&gt;   1 more question, do i have to backup controlfile to trace?  or just do an os copy of it?&lt;BR /&gt;&lt;BR /&gt;   if i don't have to, does that mean i do not need administrator password to upgrade my hard disk (assuming application can startup and shutdown database).&lt;BR /&gt;&lt;BR /&gt;   thanks in advance for any replies!&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Feb 2004 20:13:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180778#M874312</guid>
      <dc:creator>greenpiece</dc:creator>
      <dc:date>2004-02-03T20:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade of hard disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180779#M874313</link>
      <description>backup controlfile to trace' command is used to backup the controlfile and will be used to re-create the controlfile when the file is lost/corrupted.&lt;BR /&gt;&lt;BR /&gt;Any structural changes of the database,you should keep a backup of the controlfile.&lt;BR /&gt;&lt;BR /&gt;There is no need for you now to re-create the controlfile as you are stopping/shutting down all oracle services are moving the files to another disk.&lt;BR /&gt;&lt;BR /&gt;But before you do anything,it would be great to have a full backup of the database.&lt;BR /&gt;and also the backup of the current controlfile</description>
      <pubDate>Tue, 03 Feb 2004 22:11:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180779#M874313</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-02-03T22:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade of hard disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180780#M874314</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;TG is right.&lt;BR /&gt;&lt;BR /&gt;You can just move around files and unmount/remounting of the file systems can do the trick. No need to reinstall....&lt;BR /&gt;&lt;BR /&gt;Again, make sure you have done a full backup of your system.&lt;BR /&gt;&lt;BR /&gt;are you using raw device?&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Yogeeraj</description>
      <pubDate>Tue, 03 Feb 2004 23:44:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180780#M874314</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2004-02-03T23:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade of hard disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180781#M874315</link>
      <description>hi Yogeeraj,&lt;BR /&gt;&lt;BR /&gt;   i was told to give a plan as to how to go about doing it, don't have the actual new disks yet.  proposed plan is to use a new data disk.&lt;BR /&gt;   hmm, i'm not sure whether i've answered your question, sorry!&lt;BR /&gt;&lt;BR /&gt;   thanks for your reply.</description>
      <pubDate>Wed, 04 Feb 2004 01:18:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180781#M874315</guid>
      <dc:creator>greenpiece</dc:creator>
      <dc:date>2004-02-04T01:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade of hard disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180782#M874316</link>
      <description>Hi,&lt;BR /&gt;   Just to confirm, if i want to keep the old data disk, can i just move all oracle files to the new data disk and mount both data disks without de-installing the database from old disk?&lt;BR /&gt;&lt;BR /&gt;   Thanks in advance!</description>
      <pubDate>Thu, 05 Feb 2004 02:58:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180782#M874316</guid>
      <dc:creator>greenpiece</dc:creator>
      <dc:date>2004-02-05T02:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade of hard disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180783#M874317</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;post the output the following sql: &lt;BR /&gt;select substr(file_name,1,75) from dba_data_files;  &lt;BR /&gt;&lt;BR /&gt;You can modify your mount points according so that you can use both your new and old disks.&lt;BR /&gt;&lt;BR /&gt;the output of the above query will simply your case.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Thu, 05 Feb 2004 03:18:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180783#M874317</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2004-02-05T03:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade of hard disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180784#M874318</link>
      <description>Hi, &lt;BR /&gt;Use this link for oracle documentation to help you: &lt;A href="http://tahiti.oracle.com" target="_blank"&gt;http://tahiti.oracle.com&lt;/A&gt;&lt;BR /&gt;If you are going to keep the old disk will you be using it for something else or not?  You might not even need to move the datafiles to the new disk.  2nd you'll want to try and evenly space the datafiles across the volumns.  I don't know what type of setup you have but simply moving datafiles to another disk could cause poor performance in the future.  You might even want to do an export and import to redistribute your data.  But that's another topic, as far as moving the datafiles goes: &lt;BR /&gt;1. determine which datafiles you want to move by looking at dba_data_files tables.  The name column will tell you the path and name of them.  &lt;BR /&gt;2. either take a full export or an export of the tablespaces where the datafiles reside that you'll be moving.  &lt;BR /&gt;3. Take the tablespaces offline where the datafiles reside in.  ALTER TABLESPACE name OFFLINE NORMAL;&lt;BR /&gt;3. Perform an os 'cp old_name new_name' to move the datafiles.  Important not to copy these datafiles when the tablespaces are online.&lt;BR /&gt;4. Rename datafiles on the oracle lvl.  &lt;BR /&gt;alter tablespace name &lt;BR /&gt;rename datafile 'old_name1','old_name2' to&lt;BR /&gt;'new_name1','new_name2';&lt;BR /&gt;5. alter tablespace name online&lt;BR /&gt;This shouldn't take too long at all.</description>
      <pubDate>Thu, 05 Feb 2004 10:51:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180784#M874318</guid>
      <dc:creator>Brian_274</dc:creator>
      <dc:date>2004-02-05T10:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade of hard disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180785#M874319</link>
      <description>hi, i would want to keep the old disk to house data files, and perhaps keep log files in the new disk.&lt;BR /&gt;I am actually trying to solve the problem of not enough disk space as the database "crashed" before bec the disk space was not enough for log file.&lt;BR /&gt;Therefore i was told to add new disk to the database.&lt;BR /&gt;Any better suggestion?</description>
      <pubDate>Tue, 09 Mar 2004 21:49:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180785#M874319</guid>
      <dc:creator>greenpiece</dc:creator>
      <dc:date>2004-03-09T21:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade of hard disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180786#M874320</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;   Thank you for your help.&lt;BR /&gt;&lt;BR /&gt;   Sorry for the late points assignment.</description>
      <pubDate>Tue, 20 Jul 2004 20:28:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/upgrade-of-hard-disk/m-p/3180786#M874320</guid>
      <dc:creator>greenpiece</dc:creator>
      <dc:date>2004-07-20T20:28:49Z</dc:date>
    </item>
  </channel>
</rss>

