- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LVreduce error HELP!!!!
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-04-2003 07:41 AM
03-04-2003 07:41 AM
Re: LVreduce error HELP!!!!
If it does come back and tell us to deactivate first, then we'll go for LVM maintenance mode.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 07:44 AM
03-04-2003 07:44 AM
Re: LVreduce error HELP!!!!
bash-2.05# vgcfgrestore -n /dev/vg00 /etc/lvmconf/vg00.conf.old /dev/dsk/c1t2d0
Usage: vgcfgrestore
[-R]
[-F]
{ -n vgname |
-f VGConfPath }
{ -l |
{[-o OldPVPath] PVPath}}
OldPVPath and PVPath : character special files
"/dev/dsk/c1t2d0": Too many arguments
What am I doing wrong :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 07:47 AM
03-04-2003 07:47 AM
Re: LVreduce error HELP!!!!
bash-2.05# vgcfgrestore -n /dev/vg00 -f /etc/lvmconf/vg00.conf.old /dev/dsk/c1t2d0
Usage: vgcfgrestore
[-R]
[-F]
{ -n vgname |
-f VGConfPath }
{ -l |
{[-o OldPVPath] PVPath}}
OldPVPath and PVPath : character special files
Illegal combination of options
any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 07:48 AM
03-04-2003 07:48 AM
Re: LVreduce error HELP!!!!
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 07:49 AM
03-04-2003 07:49 AM
Re: LVreduce error HELP!!!!
# vgcfgrestore -n /dev/vg00 -f /etc/lvmconf/vg00.conf.old /dev/rdsk/c1t2d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 07:50 AM
03-04-2003 07:50 AM
Re: LVreduce error HELP!!!!
use the raw device /dev/rdsk/c1t2d0
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 07:50 AM
03-04-2003 07:50 AM
Re: LVreduce error HELP!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 07:51 AM
03-04-2003 07:51 AM
Re: LVreduce error HELP!!!!
Usage: vgcfgrestore
[-R]
[-F]
{ -n vgname |
-f VGConfPath }
{ -l |
{[-o OldPVPath] PVPath}}
OldPVPath and PVPath : character special files
Illegal combination of options
still not working ?
Thanks for all your help again everyone :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 07:51 AM
03-04-2003 07:51 AM
Re: LVreduce error HELP!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 07:52 AM
03-04-2003 07:52 AM
Re: LVreduce error HELP!!!!
this should be it !!
# vgcfgrestore -f /etc/lvmconf/vg00.conf.old /dev/rdsk/c1t2d0
Sorry for the confusion !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 07:53 AM
03-04-2003 07:53 AM
Re: LVreduce error HELP!!!!
Usage: vgcfgrestore
[-R]
[-F]
{ -n vgname |
-f VGConfPath }
{ -l |
{[-o OldPVPath] PVPath}}
OldPVPath and PVPath : character special files
"-f": Too many arguments
Took out the -n still no luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 07:54 AM
03-04-2003 07:54 AM
Re: LVreduce error HELP!!!!
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 07:54 AM
03-04-2003 07:54 AM
Re: LVreduce error HELP!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 07:56 AM
03-04-2003 07:56 AM
Re: LVreduce error HELP!!!!
-n /dev/vg00
altogether
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 08:02 AM
03-04-2003 08:02 AM
Re: LVreduce error HELP!!!!
bash-2.05# vgcfgrestore -f /etc/lvmconf/vg00.conf.old /dev/rdsk/c1t2d0
Volume Group configuration has been restored to /dev/rdsk/c1t2d0
bash-2.05# vgcfgrestore -f /etc/lvmconf/vg00.conf.old /dev/rdsk/c2t2d0
Volume Group configuration has been restored to /dev/rdsk/c2t2d0
But the lvol in question still shows at 2gb and when I try to mount it it says its corrupt and needs checking...
When I tried to do a df -k
I got this
bash-2.05# df -k
/eztrack (/etc/auto.eztrack ) : 0 total allocated Kb
0 free allocated Kb
0 used allocated Kb
Floating point exception (core dumped)
Its bad isnt it....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 08:06 AM
03-04-2003 08:06 AM
Re: LVreduce error HELP!!!!
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 08:10 AM
03-04-2003 08:10 AM
Re: LVreduce error HELP!!!!
bash-2.05# fsck /dev/dsk/lvol10
fsck: /etc/default/fs is used for determining the file system type
vxfs fsck: cannot stat /dev/dsk/lvol10
bash-2.05# fsck /u02
fsck: /etc/default/fs is used for determining the file system type
cannot open device /u02
file system check failure, aborting ...
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 08:11 AM
03-04-2003 08:11 AM
Re: LVreduce error HELP!!!!
I think you are going to need to reboot in order to see if this worked or not.
BTW, I suggest you slow down before you make a major mistake.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 08:13 AM
03-04-2003 08:13 AM
Re: LVreduce error HELP!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 08:14 AM
03-04-2003 08:14 AM
Re: LVreduce error HELP!!!!
I know, I am starting to panic a little......ok a lot...I will reboot and hope for the best :)
Will let you know what happens :)
Thanks so much to everyone who replied, all your help (and company) was appreciated during this crappy experience for me :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 08:16 AM
03-04-2003 08:16 AM
Re: LVreduce error HELP!!!!
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 08:43 AM
03-04-2003 08:43 AM
Re: LVreduce error HELP!!!!
bash-2.05# fsck /dev/rdsk/c1t2d0
fsck: /etc/default/fs is used for determining the file system type
invalid super-block
vxfs fsck: cannot initialize aggregate
file system check failure, aborting ...
And...
bash-2.05# fsck /u02
fsck: /etc/default/fs is used for determining the file system type
cannot open device /u02
file system check failure, aborting ...
I tried to mount but says still corrupt needs checking...
I guess it didnt work...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 08:46 AM
03-04-2003 08:46 AM
Re: LVreduce error HELP!!!!
keep taking those slow deep breaths...
What does lvdisplay say about the size of the lvol?
You should be running fsck -F vxfs -o full /dev/vg00/rlvol?
(assuming it's a VXFS filesystem)
Not on the disk name or the mountpoint.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 08:49 AM
03-04-2003 08:49 AM
Re: LVreduce error HELP!!!!
I guess I need to start doing some serious restoring and hope my backups are all there and working :)
I cant thank you all enough for all the help :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 08:53 AM
03-04-2003 08:53 AM
Re: LVreduce error HELP!!!!
Thanks for the reply :)
lvdisplay says it is still 2gb not the 13 it was this morning..
Here is the result of fsck
bash-2.05# fsck -F vxfs -o full /dev/vg00/rlvol10
vxfs fsck: file system had I/O error(s) on meta-data.
log replay in progress
vxfs fsck: fsck read failure bno = 3303352, off = 0, len = 8192
file system check failure, aborting ...
Oh well we tried our best...
Onto recovery!!!