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)
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)
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)
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)
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)
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)
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)
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)
Hello All,
It goes like this.. I have increased the data hard drive of server by 100GB and rebooted the server.
I want to expand each of the LVM's by 30GB each .There are totally three LVMS to be expanded.Any help on complete commands that needs to be followed?Thanks (4 Replies)
Discussion started by: gull05
4 Replies
LEARN ABOUT FREEBSD
vgreduce
VGREDUCE(8) System Manager's Manual VGREDUCE(8)NAME
vgreduce - reduce a volume group
SYNOPSIS
vgreduce [-a|--all] [-A|--autobackup y|n] [-d|--debug] [-h|-?|--help] [--removemissing] [-t|--test] [-v|--verbose] VolumeGroupName [Physi-
calVolumePath...]
DESCRIPTION
vgreduce allows you to remove one or more unused physical volumes from a volume group.
OPTIONS
See lvm for common options.
-a, --all
Removes all empty physical volumes if none are given on command line.
--removemissing
Removes all missing physical volumes from the volume group, if there are no logical volumes allocated on those. This resumes normal
operation of the volume group (new logical volumes may again be created, changed and so on).
If this is not possible (there are logical volumes referencing the missing physical volumes) and you cannot or do not want to remove
them manually, you can run this option with --force to have vgreduce remove any partial LVs.
Any logical volumes and dependent snapshots that were partly on the missing disks get removed completely. This includes those parts
that lie on disks that are still present.
If your logical volumes spanned several disks including the ones that are lost, you might want to try to salvage data first by acti-
vating your logical volumes with --partial as described in lvm (8).
SEE ALSO lvm(8), vgextend(8)Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) VGREDUCE(8)