04-20-2016
https://access.redhat.com/documentat...lv_extend.html
I googled this for you
But note this in the article:
Quote:
...
After you have extended the logical volume it is necessary to increase the file system size to match.
By default, most file system resizing tools will increase the size of the file system to be the size of the underlying logical volume so you do not need to worry about specifying the same size for each of the two commands.
...
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hi guys.
i have written a script/program and i would strongly prefer if this script automatically expands the user's terminal whenever he or she starts the script.
this is so the script/program can fit on the user's screeen without user having to manually drag and spread his screen.
what... (2 Replies)
Discussion started by: Terrible
2 Replies
2. Shell Programming and Scripting
Hi
Input
A12345678901234567890 < A12345678901234567890 AND C12345678901234567890 < D12345678901234567890 AND E12345678901234567890 > F12345678901234567890
If the length of the line at any point exceed more than 60 chars it should come to next line
but it should not break a variable... (0 Replies)
Discussion started by: pbsrinivas
0 Replies
3. Shell Programming and Scripting
I have a log file that looks fine when you view it in Unix but when I send it as an attachment to myself it looses its formatting... so I am using "expand" to replace the tabs with spaces and the format looks good. The code below works great but I was wondering if there was a way to do this without... (2 Replies)
Discussion started by: sethcoop
2 Replies
4. Shell Programming and Scripting
Hi All,
May I know how to expand the words?
e.g:
a
aa
aaa
aaaa
I have try to use
for (i=0;i<5;i++)
do
c="a"
echo -n $c
done
but the output is aaaaa. Is it need to use array?:confused:
Thanks for your help! (5 Replies)
Discussion started by: natalie23
5 Replies
5. What is on Your Mind?
Hi,
This forum is great, I lurk here a lot and use a lot of what is posted here to help expand my skills. I have taken zero computer courses my entire life and for the most part and self taught. I am a Systems Administrator for a public school system that runs a 1:1 (6,000 Macbooks, 2,000+ Mac... (0 Replies)
Discussion started by: tlarkin
0 Replies
6. UNIX for Dummies Questions & Answers
When I do the who command it doesn't show all my info:
$w gscn
6:08PM up 4 days, 20:33, 177 users, load averages: 7.46, 3.78, 3.43
USER TTY FROM LOGIN@ IDLE WHAT
gscn R1 pool-92-199-17-1 5:46PM - w gscn
Like in the 'From' column.... (8 Replies)
Discussion started by: guitarscn
8 Replies
7. AIX
Hello all,
I have the following env:
* DS4300 storage SAN
* AIX 5.3 Lpar (storage through vio server)
* AIX 5.3 Server
Some FS are too small do I'm setting up a process to increase the size of the FS.
To expand the size of the FS I plan to do the following for the physical AIX server,... (1 Reply)
Discussion started by: petervg
1 Replies
8. AIX
Under the df command, one of my logical volumes, /dev/hd4, was showing 100% Used, so I added 2 logical partitions, but its still showing 100% used. Is there a separate command I need to execute to reallocate? (5 Replies)
Discussion started by: markper
5 Replies
9. Solaris
Hello everyone,
I'm planning to expand a filesystem on solaris 10. This filesystem is managed by Solaris Volume Manager and Sun Cluster 3.2
/dev/md/APP-set/dsk/d120
50G 49G 1G 98% /MyFileSystem
Can I do that by using this command:
growfs -M ... (1 Reply)
Discussion started by: adilyos
1 Replies
LEARN ABOUT HPUX
extendfs_hfs
extendfs_hfs(1M) extendfs_hfs(1M)
NAME
extendfs_hfs: extendfs - extend HFS file system size
SYNOPSIS
size] special
DESCRIPTION
If the original HFS file system image created on special does not make use of all of the available space, the command can be used to
increase the capacity of an HFS file system by updating the file system structure to include the extra space.
The command-line parameter special specifies the character device special file of either a logical volume or a disk partition. The special
must be unmounted before the command can be run (see mount(1M)).
Options
recognizes the following options:
Specify the HFS file system type.
Query the size of
special. No file system extension will be done.
Verbose flag.
Specifies the number of
blocks to be added to the file system. If the number of blocks is not specified, the maximum possible size is used.
EXAMPLES
To increase the capacity of a file system created on a logical volume, enter:
WARNINGS
The root file system cannot be extended using the command because the root file system is always mounted, and the command only works on
unmounted file systems.
will fail if used on a file system, on a logical volume, where the logical block size of the logical volume is greater than the file sys-
tem's fragment size. The logical block size, of a logical volume changes, when additional disks with larger sector size are added.
RETURN VALUE
returns the following values:
0 No errors were detected and file system was successfully extended.
1 Command aborted.
SEE ALSO
extendfs(1M), lvextend(1M), mkfs(1M), mount(1M), umount(1M).
extendfs_hfs(1M)