Creating a new mount point


 
Thread Tools Search this Thread
Operating Systems AIX Creating a new mount point
# 1  
Old 12-01-2008
Creating a new mount point

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.

- David
# 2  
Old 12-01-2008
Hammer & Screwdriver Maybe pointing you in the correct direction?

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
# 3  
Old 12-02-2008
I am not having much luck here. Here are 2 mount point I have on my system.

Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/fslv10 6029312 382560 94% 77098 46% /oracle9i
/dev/fslv14 7077888 318124 96% 33588 29% /oracle10G

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.

- David
# 4  
Old 12-02-2008
Quote:
How can I see what file systems are available.
Code:
mount
df
lsfs


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".

Code:
mklv -c 1 -t jfs2 -y lv_ora11 somevg 12

Now for the FS:
Code:
crfs -v jfs2 -d /dev/lv_ora11 -m /oracle11g 
mount /oracle11g

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.
# 5  
Old 12-02-2008
Okay I have an existing group on my system

HTML Code:
# 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?

-David
# 6  
Old 12-02-2008
Using smitty lvm I created a new logical volume called fslv07:

HTML Code:
LOGICAL VOLUME:     fslv07                 VOLUME GROUP:   vg01
LV IDENTIFIER:      000a8dac00004c00000000fc5ae7fa77.15 PERMISSION:     read/write
VG STATE:           active/complete        LV STATE:       closed/syncd
TYPE:               jfs2                   WRITE VERIFY:   on
MAX LPs:            512                    PP SIZE:        128 megabyte(s)
COPIES:             1                      SCHED POLICY:   parallel
LPs:                12                     PPs:            12
STALE PPs:          0                      BB POLICY:      relocatable
INTER-POLICY:       minimum                RELOCATABLE:    yes
INTRA-POLICY:       middle                 UPPER BOUND:    1
MOUNT POINT:        N/A                    LABEL:          /0racle11g
MIRROR WRITE CONSISTENCY: on/ACTIVE
EACH LP COPY ON A SEPARATE PV ?: yes
Serialize IO ?:     YES


I believe that I need to create a mount point to it now using smitty fs. What determines what size this filesystem is? I need around 15 to 20GB.

Thank you.

-David
# 7  
Old 12-02-2008
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 can I make this much bigger?

I have mounted it but it is much too small.

/dev/fslv07 655360 654932 1% 4 1% /oracle11g

Thank you.

-David
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to create a new mount point with 600GB and add 350 GBexisting mount point? IN AIX

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)
Discussion started by: Thilagarajan
2 Replies

2. AIX

How to change the mount point of LV?

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)
Discussion started by: mrmurdock
1 Replies

3. Red Hat

NFS mount point

Hi, Can you tell me something about NFS mount point ? Regards, Maddy (3 Replies)
Discussion started by: Maddy123
3 Replies

4. Solaris

creating single mount point

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)
Discussion started by: zeeshan047
8 Replies

5. Solaris

Mount point in a server

Hi , How to find out mount point in a server ? OS -- SunOS 5.6 Generic sun4u sparc SUNW Thanks (4 Replies)
Discussion started by: Maddy123
4 Replies

6. AIX

Change Mount point

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)
Discussion started by: gulamibrahim
2 Replies

7. Solaris

Mount Point Sorting?

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)
Discussion started by: honmin
2 Replies

8. UNIX for Advanced & Expert Users

Mount point options

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)
Discussion started by: Sunguy222
1 Replies

9. UNIX for Dummies Questions & Answers

auto mount point

hi can i know what is the command to create auto mount point in my unix server? is there any directory which i have to go? (1 Reply)
Discussion started by: legato
1 Replies

10. UNIX for Dummies Questions & Answers

mount point

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)
Discussion started by: colesy
1 Replies
Login or Register to Ask a Question