Operating System - HP-UX
1833777 Members
2160 Online
110063 Solutions
New Discussion

Urgently need help for creating VG, LVM ...

 
SOLVED
Go to solution
Shabaz
Advisor

Re: Urgently need help for creating VG, LVM ...

Hi,
How to check whether the created files systems are largefiles? just to check, though I have created all largefile.

Regards
Shah
"Knowledge is the most precious gift to man kind, by the CREATOR"
Domenico_5
Respected Contributor

Re: Urgently need help for creating VG, LVM ...

shabaz

you can:
How to turn on largefile support for a filesystem:

HP-UX 10.20: How to turn on largefiles:

/usr/sbin/fsadm -F hfs -o largefiles /dev/vg02/lvol1

or for vxfs:
/usr/sbin/fsadm -F vxfs -o largefiles /dev/vg02/rlvol2

HP-UX 10.20: How to check if a filesystem supports largefiles:

snevada / # fsadm -F hfs /dev/vg00/lvol7
file system : /dev/vg00/lvol1
magic number : 95014
feature bits : 1
file system supports : nolargefiles, longfilenames

or for vxfs:

snevada / # fsadm -F vxfs /var
nolargefiles




Domenico_5
Respected Contributor

Re: Urgently need help for creating VG, LVM ...

shabaz

remember that all this guys, I in very very very very very little part, have worked for you!!!!

so assign point, use two minutes to do this!!!!!!!!!

regards,

dom.
Shabaz
Advisor

Re: Urgently need help for creating VG, LVM ...

Hi,
Pls help me, I am at the last stage,

entries in /etc/fstab,

for volume group vg20, I entered the following in /etc/fstab,

/dev/vg20/lvol1 /cddump vxfs rw,suid,largefiles,delaylog,datainlog 0 2

but seems didn't work.

Pls look at the attached file, bdf of file systems.

Pls suggest, how to make sure everything is ok.
(after reboot)


Regards
Syed
"Knowledge is the most precious gift to man kind, by the CREATOR"
James R. Ferguson
Acclaimed Contributor

Re: Urgently need help for creating VG, LVM ...

Hi:

Your 'bdf' shows /cddrump is mounted and your /etc/fstab entry (as posted) is correct. What problem do you think you still have?

Regards!

...JRF...
Shabaz
Advisor

Re: Urgently need help for creating VG, LVM ...

HI James,
Thanks for your input.

Actually, after creating /cddump in vg20, entered the posted entry in /etc/fstab,
and bdf, it was showing /cddump but when I rebooted the machine, it just disappeared, may be I thought something wrong in /etc/fstab,

bdf showing /u01 /u02 /u03 /u04 and /cddump
which I had just created, does it mean everything is ok, Can I reboot the machine now.

I yet have to enter entries in /etc/fstab for /u01 ... /u04. Can I enter the same as /cddump?

Please ...

Regards
Shah
"Knowledge is the most precious gift to man kind, by the CREATOR"
Domenico_5
Respected Contributor

Re: Urgently need help for creating VG, LVM ...

hi shabaz

if you have configured the uxx like cddump, you can copy without problem.

For test, umount /cdddump, correct fstab and run "mount -a".

after with bdf you must see all file system
Shabaz
Advisor

Re: Urgently need help for creating VG, LVM ...

Hi,
After rebooting the system, all vgs except vg00 are deactivating.

I just activated all the vgs and now its ok.

So how to keep all the vgs activated after rebooting the machine?

Please ...
Thanks

Regards
Shah
"Knowledge is the most precious gift to man kind, by the CREATOR"
James R. Ferguson
Acclaimed Contributor
Solution

Re: Urgently need help for creating VG, LVM ...

Hi (again):

Make sure that AUTO_VG_ACTIVATE=1 is specified in your /etc/lvmrc configuration file. See the comments therein.

Regards!

...JRF...
Animesh Chakraborty
Honored Contributor

Re: Urgently need help for creating VG, LVM ...

Hi,
For aito vg activation edit /etc/lvmrc and put
AUTO_VG_ACTIVATE=1

#vi /etc/lvmrc
AUTO_VG_ACTIVATE=1
Did you take a backup?
Shabaz
Advisor

Re: Urgently need help for creating VG, LVM ...

Yes the value for AUTO_VG_ACTIVATE
was 0, now its ok

Once-again thanks lot, everybody.

Regards
Shah
"Knowledge is the most precious gift to man kind, by the CREATOR"