1840283 Members
2763 Online
110162 Solutions
New Discussion

VxVM largefiles support

 
SOLVED
Go to solution
MikeL_4
Super Advisor

VxVM largefiles support

We are running Veritas Foundation Suite for our volume manager instead of LVM. I need to add largefiles support on a current file system, I know with LVM I would use the fsadm command with -o option for largefiles, and then edit /etc/fstab to add the option to the file system.

How do I accomplish this in VxVM ??
10 REPLIES 10
Pete Randall
Outstanding Contributor
Solution

Re: VxVM largefiles support

I believe it would be exactly the same. The largefiles support is at the file system level and is not affected by the underlying volume manager.


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: VxVM largefiles support

Hi Mike:

The same way. The 'largefiles' property is at the *filesystem* level.

Regards!

...JRF...
Arunvijai_4
Honored Contributor

Re: VxVM largefiles support

Hello,

You can just go to sam and enable largefile support for VxFS.

# sam --> Disks and File Systems --> File systems --> select a FS -->Actions.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
A. Clay Stephenson
Acclaimed Contributor

Re: VxVM largefiles support

Because the largefiles is implemented at the filesystem abstraction layer, it doesn't care what the underlying disk layout is --- be it VxVM, LVM, whole disk, or even disk slice. It also doesn't matter if these are "real" disks or disk array LUN's.

If you were running hfs filesystems, it wouldn't matter about the underlying disk layout either. You need to separate the filesystem abstraction layer and the disk layout abstraction layers in your thinking.


If it ain't broke, I can fix that.
MikeL_4
Super Advisor

Re: VxVM largefiles support

Thanks...

In LVM we have to add "largefiles" to an entry that has largefiles enabled.

How does Veritas control this as there isn't an option coded in fstab for that on there file systems ??
Pete Randall
Outstanding Contributor

Re: VxVM largefiles support

Are you referring to an entry in /etc/fstab? You would do the same thing. The underlying volume manager makes no difference.


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: VxVM largefiles support

Hi Mike:

Declaring 'largefiles' or 'nolargefiles' in '/etc/fstab' makes the mount operation conform to the state of the underlying filesystem. That is, a filesystem with 'largefiles' enabled will fail to mount if an '/etc/fstab' specification of 'nolargefiles' exists. The inverse is also true.

Regards!

...JRF...
A. Clay Stephenson
Acclaimed Contributor

Re: VxVM largefiles support

You did not add largefiles in LVM. You are still linking the filesystem abstraction to the disk layout abstraction in your head. The two have nothing to do with each other. The largesfiles is a mount option for vxfs filesystems and as such could be put in /etc/fstab BUT the largefiles and nolargefiles vxfs mount options don't really do what you think they do. Go read the mount_vxfs man pages carefully. The ONLY way that largefiles can be enabled is via the fsadm command. Man fsadm_vxfs for details.
If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: VxVM largefiles support

To be accurate I should alter this statement:
The ONLY way that largefiles can be enabled is via the fsadm command.

to be :

The ONLY way that largefiles bit can be altered is is via the fsadm command.

Because, one could always create a new filesystem with the newfs (or mkfs) command and set the largefiles bit at that time as well as via the fsadm command.


If it ain't broke, I can fix that.
MikeL_4
Super Advisor

Re: VxVM largefiles support

Thanks