Solved

veritas fs expansion

Posted on 2011-09-22
2
205 Views
Last Modified: 2012-05-12
I would like to expand the fs below by 2 GB. How best to calculate the 2GB in order to be able to add it to the current size 61444096. lvextend uses the final size in MB you see. Would I just do ((1024 x 2)+ (61444096/1024))

I have fs that i want to expand and i've more than 12G space in my vg vg02 to do it.

#bdf /test

Filesystem            kbytes       used          avail          %used Mounted on
/dev/vg02/lvol1     61444096   50928704 10497768  83%    /test

#vgdisplay /dev/vg02
...
....
....
PE Size (Mbytes) 4
...
...
Free PE 3213

lvextend  -L 62052 /dev/vg02/lvol1
fsadm -F vxfs -b 62052M test

bc
61444096/1024
60004
1024*2
2048
2048+60004
62052


0
Comment
Question by:lolaferrari
2 Comments
 
LVL 21

Accepted Solution

by:
Papertrip earned 500 total points
ID: 36582509
Looks good.  To make your life a bit easier, the lv commands can work with offsets ( +2G ) as opposed to absolute sizes, which I believe is all fsadm can work with.  fsadm however can use unit modifiers other than M.
lvextend  -L+2G /dev/vg02/lvol1

Open in new window

0
 

Author Comment

by:lolaferrari
ID: 36817641
so you can give an offset to lv command but you have to give the total new size of the fs with fssadm?
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question