- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mount a file system permently
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2008 06:22 AM
09-19-2008 06:22 AM
And what are the oracle fs we normally have
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2008 06:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2008 06:30 AM
09-19-2008 06:30 AM
Re: Mount a file system permently
if you mount file system from sam it adds the corresponding line to /etc/fstab. so it mounts automatically in start up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2008 06:34 AM
09-19-2008 06:34 AM
Re: Mount a file system permently
A typical file system entry is as follows
/dev/vg00/lvol9 /sree vxfs delaylog 0 2
/dev/vg00/lvol9 --> Device name
/sree --> mount point
vxfs --> filesystem type
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2008 06:37 AM
09-19-2008 06:37 AM
Re: Mount a file system permently
say eg:
/dev/vgdatabase/lvolORA
/dev/vgsysystem/lvolOLA
/dev/vgsystem/lvolMLB
How can I do that...
show I do a vgcreate vgdb or will the above be a part of vg00 and a lvcreate lvolORA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2008 06:41 AM
09-19-2008 06:41 AM
Re: Mount a file system permently
post the ioscan -fnC disk o/p
Which are the physical volumes u want to create the File system.
Create a separate VG for that ( recomended)
Then lvcreate, newfs, mount.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2008 06:59 AM
09-19-2008 06:59 AM
Re: Mount a file system permently
/dev/dsk/c0t0d0 /dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s2
/dev/dsk/c0t0d0s1 /dev/rdsk/c0t0d0 /dev/rdsk/c0t0d0s3
/dev/dsk/c0t0d0s2 /dev/rdsk/c0t0d0s1
disk 2 0/2/1/0.0.0.1.0 sdisk CLAIMED DEVICE HP SG146BCBA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2008 08:47 AM
09-19-2008 08:47 AM
Re: Mount a file system permently
So you wish to create two 50GB filesystems in either one or more volume groups.
1) find 100GB of storage.
Your ioscan showed two devices on that looks like it is the OS drive of unknown size, the other that has no device files created ( or it was cut off ).
disk 3 0/2/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP SG146BCBA
So lets find some free disk.
but first need to create the device files for 0.2.1.0.0.0.1 unless you simply cut them off in your previous post.
insf -eH 0.2.1.0
then repost:
ioscan -kfnC disk
While you are at it Post:
vgdisplay -v
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2008 09:02 AM
09-19-2008 09:02 AM
Re: Mount a file system permently
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2008 09:02 AM
09-19-2008 09:02 AM
Re: Mount a file system permently
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2008 09:47 AM
09-19-2008 09:47 AM
Re: Mount a file system permently
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4356
VGDA 2
PE Size (Mbytes) 32
Total PE 4347
Alloc PE 998
Free PE 3349
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 2178g
VG Max Extents 69696
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 1792
Current LE 56
Allocated PE 56
Used PV 1
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 8192
Current LE 256
Allocated PE 256
Used PV 1
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 32
Allocated PE 32
Used PV 1
LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 512
Current LE 16
Allocated PE 16
Used PV 1
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 128
Current LE 4
Allocated PE 4
Used PV 1
LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 7232
Current LE 226
Allocated PE 226
Used PV 1
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 4352
Current LE 136
Allocated PE 136
Used PV 1
LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 8704
Current LE 272
Allocated PE 272
Used PV 1
--- Physical volumes ---
PV Name /dev/disk/disk4_p2
PV Status available
Total PE 4347
Free PE 3349
Autoswitch On
Proactive Polling On
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 0
Open LV 0
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 8750
VGDA 2
PE Size (Mbytes) 16
Total PE 8750
Alloc PE 0
Free PE 8750
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 2240000m
VG Max Extents 140000
--- Physical volumes ---
PV Name /dev/disk/disk5
PV Status available
Total PE 8750
Free PE 8750
Autoswitch On
Proactive Polling On
# ioscan -kfnC disk
Class I H/W Path Driver S/W State H/W Type Description
==================================================================
disk 3 0/2/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP DG146BABCF
/dev/dsk/c0t0d0 /dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s2
/dev/dsk/c0t0d0s1 /dev/rdsk/c0t0d0 /dev/rdsk/c0t0d0s3
/dev/dsk/c0t0d0s2 /dev/rdsk/c0t0d0s1
disk 2 0/2/1/0.0.0.1.0 sdisk CLAIMED DEVICE HP DG146BABCF
/dev/dsk/c0t1d0 /dev/rdsk/c0t1d0
Both the diska are 146 gig each...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2008 09:49 AM
09-19-2008 09:49 AM
Re: Mount a file system permently
/johnsons (45.13.64.3:/johnsons ): 6254768 blocks 2970821 i-nodes
/dev/deviceFileSystem (DevFS ): 0 blocks 0 i-nodes
/home (/dev/vg00/lvol5 ): 248592 blocks 3883 i-nodes
/opt (/dev/vg00/lvol6 ): 4593488 blocks 72311 i-nodes
/tmp (/dev/vg00/lvol4 ): 11424 blocks 170 i-nodes
/usr (/dev/vg00/lvol7 ): 3029312 blocks 47703 i-nodes
/var (/dev/vg00/lvol8 ): 15555632 blocks 244944 i-nodes
/stand (/dev/vg00/lvol1 ): 2997696 blocks 47189 i-nodes
/ (/dev/vg00/lvol3 ): 1467616 blocks 23099 i-nodes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2008 11:20 AM
09-19-2008 11:20 AM
Re: Mount a file system permently
Two 146GB drives.
One is in vg00 the other in vg01
Because you only have two disk and they are in separate vgs mirroring is out of the question unless we change the config.
So...
To create two 50GB filesystems in /dev/vg01
lvcreate -L 50000 -n lvol1 /dev/vg01
lvcreate -L 50000 -n lvol2 /dev/vg01
newfs -o largefiles /dev/vg01/rlvol1
newfs -o largefiles /dev/vg01/rlvol2
mkdir /myfs1
mkdir /myfs2
edit /etc/fstab and create entries so they are mounted at boot time.
e.g
/dev/vg01/lvol1 /myfs1 vxfs largefiles 0 2
/dev/vg01/lvol2 /myfs2 vxfs largefiles 0 2
mount /myfs1
mount /myfs2
If you want to mirror we need to talk about other config options, getting more disk, putting both disks in /dev/vg00(not recommended), having Mirror/UX software, etc...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2008 08:34 AM
09-21-2008 08:34 AM
Re: Mount a file system permently
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1270433
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2008 09:58 PM
09-21-2008 09:58 PM
Re: Mount a file system permently
After creating vg lv and mountpoint directory you need to mount new lv's into them, open /etc/fstab go to end add this 2 lines modify vgname, lvname and mountpoint
/dev/vgname/lvname1 /mountpoint1 vxfs rw,nosuid,largefiles,datainlog,delaylog 0 2
/dev/vgname/lvname1 /mountpoint2 vxfs rw,nosuid,largefiles,datainlog,delaylog 0 2
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2008 12:11 PM
09-23-2008 12:11 PM