- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem with creating new space.
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
Discussions
Discussions
Forums
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
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
тАО01-28-2009 12:17 PM
тАО01-28-2009 12:17 PM
Problem with creating new space.
Here are the steps that I took to create the space.
root: / ==> lvcreate -L 500 -n devtacs10 /dev/vg01
Warning: rounding up logical volume size to extent boundary at size "512" MB.
Logical volume "/dev/vg01/devtacs10" has been successfully created with
character device "/dev/vg01/rdevtacs10".
Logical volume "/dev/vg01/devtacs10" has been successfully extended.
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf
When I tried to mount it I received this error:
root: / ==> mount /dev/vg01/devtacs10 /apps/devtacs10
/dev/vg01/devtacs10: unrecognized file system
So I checked the syslog and found this:
Jan 28 09:34:40 gravina LVM[11732]: lvcreate -L 500 -n devtacs10 /dev/vg01
Jan 28 09:34:41 gravina LVM[11732]: Volume Group configuration for /dev/vg01 has
been saved in /etc/lvmconf/vg01.conf
I figured that I would need to make sure the lv was in /etc/fstab. It wasn't there so I added it by making a copy of the orignal entry and modified the name.
/dev/vg01/devtacs10 /apps/devtacs10 vxfs delaylog 0 2
When I try to mount the lv I still get an error.
root: /dev/vg01 ==> mount /dev/vg01/devtacs10 /apps/devtacs10
/dev/vg01/devtacs10: unrecognized file system
root: /dev/vg01 ==> mount /apps/devtacs10
vxfs mount: not a valid vxfs file system
I have followed these same steps last year when I created my last lv and didn't have any problems.
Does anyone know what I am doing wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 12:22 PM
тАО01-28-2009 12:22 PM
Re: Problem with creating new space.
Example:
newfs -F vxfs -o largefiles /dev/vg01/rdevtacs10
Then create a mountpoint and try to mount it.
Or did I miss reading that up there??
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 12:27 PM
тАО01-28-2009 12:27 PM
Re: Problem with creating new space.
You created the LV, but neglected to create a filesystem on the LV.
The 'newfs' command Rita gave should do the trick for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 09:01 PM
тАО01-28-2009 09:01 PM
Re: Problem with creating new space.
>>>Does anyone know what I am doing wrong?
<< You have missed out "newfs" or fsadm command,.?
Basic steps to create a File system
1. lvcreate
2. newfs or fsadm (fsadm- used when Online JFS has been Installed)
3. edit the /etc/fstab file to add entry for newly created File System
4. mount -a
See below example:-
===================
user requested creat new mount point for 5GB,,
/usr/sbin/lvcreate -L 5120 vg06
newfs -F vxfs -o largefiles /dev/vg06/rlvol20
or
fsadm -F vxfs -o largefiles /dev/vg06/rlvol20
mkdir /oracle/kms/data05
cp /etc/fstab /etc/fstab.0111062334
vi /etc/fstab/dev/vg06/lvol20 /oracle/kms/data05 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
mount /oracle/kms/data05
Hope this Helps.
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 10:02 PM
тАО01-28-2009 10:02 PM
Re: Problem with creating new space.
The following creates a 500MB large LV named lvdata on any disk(s) of the VG vg01:
# lvcreate -n lvdata -L 500 vg01
# newfs -F vxfs -o largefiles /dev/vg01/rlvdata
donot forget to give largefiles if you are not using online JFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 10:55 PM
тАО01-28-2009 10:55 PM
Re: Problem with creating new space.
I was able to use fsadm to set largefiles without Online JFS on 11.23.