- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem with fs mounting
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
04-24-2005 10:03 PM
04-24-2005 10:03 PM
Problem with fs mounting
I have a problem on a server connected to an EMC Symmetrix.
After a reboot, it is unable to mount filesystems in a vg named vg106BEBarch.
If I run a vgdisplay vg106BEBarch, I get this :
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t14d4":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t14d4":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Volume groups ---
VG Name /dev/vg106BEBarch
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 5
Open LV 5
Max PV 64
Cur PV 2
Act PV 2
Max PE per PV 10240
VGDA 4
PE Size (Mbytes) 8
Total PE 2156
Alloc PE 1150
Free PE 1006
Total PVG 2
Total Spare PVs 0
Total Spare PVs in use 0
vgdisplay -v shows the followings disks :
--- Physical volume groups ---
PVG Name 106ARCH
PV Name /dev/dsk/c3t6d4
PV Name /dev/dsk/c3t6d5
PV Name /dev/dsk/c4t6d4
PV Name /dev/dsk/c4t6d5
PVG Name ARCH2
PV Name /dev/dsk/c3t14d4
PV Name /dev/dsk/c4t14d4
I appears that tis vg was moved from another server and was still active on the previous server. I desactivated it on the other server but I can't find how to solve this.
It seems, but I am still not sure, I am checking with storage team, that the two last disks shouldn't belong to this vg.
ioscan -fnC disk shows all the disks claimed.
I daren't move /etc/lvmtab and run vgscan -av, I am not familiar with this and I fear that the solution may be worse that the problem.
I ran vgscan -apv and it doesn't see vg106BEBarch vg.
In addition, these disks are all configured with multipath two by two so when it says that there's only 2 active PV's, it means that there are 4 disks active with multipath. (c3t6d4 multipath with c4t6d4 and so on)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2005 10:11 PM
04-24-2005 10:11 PM
Re: Problem with fs mounting
diskinfo /dev/rdsk/c3t14d4
and
pvdisplay /dev/dsk/c3t14d4
And paste here the output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2005 10:28 PM
04-24-2005 10:28 PM
Re: Problem with fs mounting
Physical disks in your ARCH2 Physical Volume Group are not accessible. As stated earlier see wheather the device files exists.
VG can still be activated by bypassing the quorum check using "vgchange -a y -q n /dev/vg106BEBarch"
But by doing this your Logical volumes which are allocated to these physical volumes fully or partially will not be available.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2005 11:08 PM
04-24-2005 11:08 PM
Re: Problem with fs mounting
Here are the results of diskinfo and pvdisplay.
# diskinfo /dev/rdsk/c3t14d4
SCSI describe of /dev/rdsk/c3t14d4:
vendor: EMC
product id: SYMMETRIX
type: direct access
size: 8838720 Kbytes
bytes per sector: 512
root@mou043 [/tmp]
# pvdisplay /dev/dsk/c3t14d4
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c3t14d4":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t14d4":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query all of the physical volumes.
pvdisplay: Couldn't retrieve the names of the physical volumes
belonging to volume group "/dev/vg106BEBarch".
pvdisplay: Cannot display physical volume "/dev/dsk/c3t14d4".
I have no problem to activate the vg, but if I try to mount the fs, I get such errors :
vxfs mount: /dev/vg106BEBarch/lvol1 is corrupted. needs checking
if I run a fsck, I get :
# fsck /dev/vg106BEBarch/lvol1
file system is larger than device
vxfs fsck: cannot initialize aggregate
file system check failure, aborting ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2005 11:12 PM
04-24-2005 11:12 PM
Re: Problem with fs mounting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2005 11:15 PM
04-24-2005 11:15 PM
Re: Problem with fs mounting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2005 11:15 PM
04-24-2005 11:15 PM
Re: Problem with fs mounting
If you perform vgscan, do you get any messages?
After vgscan:
strings /etc/lvmtab | more
Can you see this vg/disk there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2005 11:20 PM
04-24-2005 11:20 PM
Re: Problem with fs mounting
It appears the LUN is accessible from the EMC box but not the old contents of the LUN. What actually has happened to the EMC box. Were there some changes done Zoning config etc.
Just see /etc/lvmpvg file all the PVGs should be listed in it.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2005 11:21 PM
04-24-2005 11:21 PM
Re: Problem with fs mounting
vgscan -apv gives (part of it only):
Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c3t14d4
/dev/dsk/c4t14d4
but nothing on c3t6d4-5 or c4t6d4-5 which should be seen, they are seen by pvdisplay !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2005 11:25 PM
04-24-2005 11:25 PM
Re: Problem with fs mounting
VG /dev/vg106BEBarch
PVG 106ARCH
/dev/dsk/c3t6d4
/dev/dsk/c3t6d5
/dev/dsk/c4t6d4
/dev/dsk/c4t6d5
PVG ARCH2
/dev/dsk/c3t14d4
/dev/dsk/c4t14d4
It seems coherent with vgdisplay, but I don't know if vgdisplay reads this file, in which case it would be normal that it gives the same result :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2005 11:30 PM
04-24-2005 11:30 PM
Re: Problem with fs mounting
You might have to run vgexport/vgimport now. Just note down the VG minor no. by "ls -l /dev/v06BEBarch/group" Then do a vgexport and then vgimport by specifying the physical Paths of all the Physical disks with vgimport.
Do you have some old bdf/lvdisplay -v output from where you can come to know how many file system were there in this VG and what was the allocation policy ?
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2005 11:53 PM
04-24-2005 11:53 PM
Re: Problem with fs mounting
/dev/dsk/c3t6d4
/dev/dsk/c3t6d5
/dev/dsk/c4t6d4
/dev/dsk/c4t6d5
(in fact 2 disks with multipath)
But I don't know what the following disks are :
/dev/dsk/c3t14d4
/dev/dsk/c4t14d4
I can figure some possibilities :
vgexport/vgimport : should I import only the first 4 disks or all ? isn't there a risk to lose all data on the disks ?
mv /etc/lvmtab /etc/lvmtab.old;vgscan -av :
I did that only once, based on a thread in this forum describing exactly my problem. I don't know if this command is dangerous, and besides, I am not sure at all it can solve the problem. I will probably do that, but I'd like to be sure before.
vgreduce 2 unused disks : I will use this at the very end if it appears that nothing else works, I really doubt it would be the solution. And more : if the two last disks :
/dev/dsk/c3t14d4
/dev/dsk/c4t14d4
don't belong to this volume group, to which do they belong ? I don't wan't to solve my problem by erasing someone else's data :-(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2005 12:05 AM
04-25-2005 12:05 AM
Re: Problem with fs mounting
You can edit the /etc/lvmpvg file and can make necessary changes to reflect only first four disks in it. (See man lvmpvg)
And if you are sure that this vg was allocated to only four disks then you can do a vgimport with only four devices after changing /etc/lvmpvg. It do not destroy existing contents of the disk.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2005 01:10 AM
04-25-2005 01:10 AM
Re: Problem with fs mounting
vgchange -a n vg106BEBarch
vgexport -m /tmp/my.map vg106BEBarch
mkdir /dev/vg106BEBarch
mknod /dev/vg106BEBarch/group c 64 0x
to get the
and see what it was.
vgimport -m /tmp/my.map vg106BEBarch /dev/dsk/c3t6d4 /dev/dsk/c3t6d5 /dev/dsk/c4t6d4 /dev/dsk/c4t6d5
Check if it works without those two disks. If you wish to bring them back, do the same, but add them to the "vgimport" command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2005 03:01 AM
04-25-2005 03:01 AM