- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mounting the file system
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
03-25-2003 05:56 AM
03-25-2003 05:56 AM
Mounting the file system
I have a volume group vg01, which contains 6 PVs and 3 LVs (lvol1, lvol2 and lvol3). Each logical volume is mounted to filesystems.
The vgdisplay vg01 output is
--------------------------------------------
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 3
Open LV 3
Max PV 16
Cur PV 6
Act PV 6
Max PE per PV 4341
VGDA 12
PE Size (Mbytes) 4
Total PE 16089
Alloc PE 10850
Free PE 5239
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
----------------------------------------------
Each logical volume size is 17360 MB. my requirement is to reduce the logical volume lvol2 size to 8680 and create another logical volume (say lvol4)with size 8680 and I have to mount this new logical volume to another file system.
What I have did was, i reduced the lvol2 size by using lvreduce -L 8680 /dev/vg01/lvol2.
When I run the above command I got the message saying that logical volume is reduced successfully.(Please note that I am not bothering about the data in the lvol2), but the lvreduce process never completed, i mean i didn't get the control to command prompt. When I checked ps -ef|grep lvreduce the process is still exists. (Meanwhile I checked the lvol2 size using lvdisplay /dev/vg01/lvol2 then the LV size is reduced to 8680.) I waited for two to 3 hours still lvreduce process is exists. Then I tried to kill the process, eventhough the process does not get killed.
I waited for another 2 hours and reboted the system. The strange think happend after rebooting the system is I am not able to see the mount point for /oralog which was mounted on lovol2 before shutdown. I tried to mount the filesystem again manually using the following command
mount -F vxfs /dev/vg01/lvol2 /oralog
I got the following error when i run the above command.
vxfs mount: /dev/vg01/lvol2 is corrupted. needs checking
What might be the reason and how can i mount the /oralog file system?
Please help me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 05:59 AM
03-25-2003 05:59 AM
Re: Mounting the file system
You should be removing the lv and recreating it with a smaller size. so remove lvol2 and recreate it with a smaller size.
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 06:13 AM
03-25-2003 06:13 AM
Re: Mounting the file system
Try this:
# lvremove /dev/vg01/lvol2
# lvcreate -L 8680 -n lvol2 /dev/vg01
# lvcreate -L 8680 -n lvol4 /dev/vg01
This will remove your old lvol2 and then recreate it with a size of 8680 MB and then create lvol4 with a size of 8680 MB.
If you want to try to salvage your current lvol2 you can try:
# fsck -y /dev/vg01/lvol2
# fsck -y -o full /dev/vg01/lvol2
Then try to mount it again. If it works and is the correct size, you can then create your lvol4.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 06:16 AM
03-25-2003 06:16 AM
Re: Mounting the file system
dd if=/dev/dsk/c... of=/dev/null count=1000000
control c (* break after 1 count of ten and note the ins and outs or any errors *)
If dd also hangs then this disk is bad. Run diskinfo and call HP HW.
diskinfo /dev/rdsk/c....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 06:20 AM
03-25-2003 06:20 AM
Re: Mounting the file system
Take a look at next doc.
Europe
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&admit=-938907319+1048601938066+28353475&docId=200000063231654
US
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&admit=-938907319+1048601938066+28353475&docId=200000063231654
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 07:40 AM
03-25-2003 07:40 AM
Re: Mounting the file system
Run the fsck command on logical volume /lvol2 , check the diskinfo for the disks on which the lvol2 is receding.