Hello, I have an AIX Oracle database server that I need to create a new filesystem/mount where I can create a new ORacle home to install 11g on. What are the needed steps to create this? There are mounts for Oracle 9i and 10g already. Thank you.
For hp-ux, you would have
pvcreate to create the physical volume
vgcreate to create the volume group
lvcreate to create the logical volume (or your mount point)
I seem to recall AIX as
mkdev
mkvg
mklv
So, take a look at mklv command.
The following link has a good cross-reference, so if you know a command for one unix flavor, it would point you to the associated command for a different unix flavor (or system type). http://www.unixguide.net/
Last edited by joeyg; 12-01-2008 at 05:57 PM..
Reason: Added a link
All I want to do is create a new mount point called /oracle11g. How can I see what file systems are available. In Solaris there is a format command for formatting disks and allocating partitions. There is also a newfs command for putting a UFS filesystem on a disk. How do I set this all up on AIX? Thank you for you help.
You gotta know onto which Volume Group (vg) you want to place it, if you want to mirror it and how large it should be.
Then you have to create a Logical Volume (lv) and on top of it a filesystem (fs). Here an example for a LV with 1 copy (no mirror) of type "jfs2" with lv_ora11 as LV name placed on "somevg" using 12 Physical Partitions. How large 1 Phsyical Partitions is you can get by issuing "lsvg somevg".
Now for the FS:
If you want different options, best check the man pages for those commands. You are lucky since in AIX are plenty of explained examples at the end of the man pages for about every command. I miss that on other OS'es sometimes. There are some considerations when using that in clusters or when creating FS'es with an extra log LV cause of performance.
Also you can use "smitty lvm" and use the ascii menues.
# lsvg
rootvg
vg01
# lsvg vg01
VOLUME GROUP: vg01 VG IDENTIFIER: 000a8dac00004c00000000fc5ae7fa77
VG STATE: active PP SIZE: 128 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 1092 (139776 megabytes)
MAX LVs: 256 FREE PPs: 98 (12544 megabytes)
LVs: 24 USED PPs: 994 (127232 megabytes)
OPEN LVs: 17 QUORUM: 2
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: yes
MAX PPs per VG: 32512
MAX PPs per PV: 1016 MAX PVs: 32
LTG size: 128 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
I would like to create a 20GB mount point. In Solaris I can use the format command to see what disks are available to format and create a filesystem on. Can this volumn group be used. If not how do I see what is available on a disk to format?
I created a filesystem but it is too small. When I tried to increase the size it complained. Using smitty fs:
Quote:
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
File system name /oracle11g
NEW mount point [/oracle11g]
SIZE of file system
Unit Size 512bytes +
Number of units [14155776] #
Mount GROUP []
Mount AUTOMATICALLY at system restart? yes +
PERMISSIONS read/write +
Mount OPTIONS [] +
Start Disk Accounting? no +
Block Size (bytes) 4096
Inline Log? no
Inline Log size (MBytes) [0] #
Extended Attribute Format [v1]
ENABLE Quota Management? no +
Allow Small Inode Extents? no
I received the following error:
0516-404 allocp: This system cannot fulfill the allocation request.
There are not enough free partitions or not enough physical volumes
to keep strictness and satisfy allocation requests. The command
should be retried with different allocation characteristics.
How to create a new mount point with 600GB and add 350 GBexisting mount point
Best if there step that i can follow or execute before i mount or add diskspace IN AIX
Thanks (2 Replies)
I have situation where my disk upon reboot, has its mount point as #
LOGICAL VOLUME: disk4vol VOLUME GROUP: disk4vg
LV IDENTIFIER: 00f609aa00004c0000000152414b786c.1 PERMISSION: read/write
VG STATE: active/complete LV STATE: closed/syncd
TYPE: jfs2 WRITE VERIFY: off
MAX LPs: 512 PP SIZE: 512... (1 Reply)
hi ,
I am new in this field,we are using solaris 10,we have two unpartation name
/dev/md/rdsk/d110 and /dev/md/rdsk/d111 with size 500gb each.
Now actually i want to create a single mount point /u06 and assign both 500gb unallocated space to /u06 to became the size 1 terabyte for /u06 mount... (8 Replies)
Deart All,
can any one help to do this,
i need to change mount point in AIX 6
/opt/OM should be /usr/lpp/OM, how do i do....
Please help me Urgent issue (2 Replies)
Dear Gurus,
Could it be possible to have the output of df -k sorted? The df -k output messed up after recent power trip.
Also, is there any folders that I should look into to reduce the root size (other than /var/adm and /var/crash) after server crash?
Many thanks in advance.
... (2 Replies)
Hello all,
I'm sharing 1 volume from a Sun Storage array (6130), out to 2 servers. Created a slice on one server and mounted a filesystem. On the other server the disk already sees the created slice from the other server (shared throught the storage array, so mounted this filesystem as well.
... (1 Reply)
hi people,
I'm trying to create a mount point, but am having no sucess at all, with the following:
mount -F ufs /dev/dsk/diskname /newdirectory
but i keep getting - mount-point /newdirectory doesn't exist.
What am i doing wrong/missing?
Thanks
Rc (1 Reply)