10-29-2008
Expand ufs Filesystems
Hi All,
I need to expand a number of Filesystems on a Sun machine running Solaris 10 OS. But first I am confused;
1. Is it possible to expand a ufs filesystem such as /dev/dsk/c1t1d0s0 (that is not managed by SVM) without lossing existing data?
2. Is it possible to have such a filesystem span over more than 1 physical disks?
At present I have the following filesystems which are almost full;
/dev/dsk/c1t1d0s0 141179002 121798695 17968517 88% /mainDB
/dev/dsk/c1t4d0s0 141179002 130083737 9683475 94% /mainHOME
/dev/dsk/c1t3d0s0 141179002 139767832 0 100% /webapps
Each of these flesystems were created on 1 physical disk each taking the whole space. ( The entrie disk has been taken up by the filesystems)
I wish to expand these filesystems; I have added five new disks to the system.
How do I expand these file systems without loosing the existing data?
I thought of the following;
1. Partition the new disks and create metadevices on them, ->create 3 volumes using SVM, -> mount the new volumes on 3 different fielsystems, -> then backup or copy the existing filesystems to the newly mounted ones (how do I do that?), -> edit the /etc/vfstab, change the mount devices for the filesystems so that the system mounts the newly created metadevices on the old mount points, re-partition the old disks and make them into metadevices, use growfs to expand the the 3 filesystems on the fly.
I haven't done this before, I just some opinions please. What steps can I take for these please
Thanks
atogunde
8 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. Solaris
OS: Solaris 10_x86.
Problem:
Server needs to be patched, but root "/" is near full.
/dev/dsk/c1t1d0s0 4.2G 3.9G 284M 94% /
The /exports/home dir has a lot more space, and I'd like to either move root "/" to it, or delete it all together:
/dev/dsk/c1t1d0s7 12G ... (20 Replies)
Discussion started by: b1f30
20 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. 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
6. 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
7. 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
8. Red Hat
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 DEBIAN
mdbfontset
mdbFontset(5) The m17n Library mdbFontset(5)
NAME
mdbFontset - Fontset
DESCRIPTION
The m17n library loads a fontset definition from the m17n database by the tags <fontset, FONTSET-NAME>. The plist format of the data is as
follows:
FONTSET ::= PER-SCRIPT * PER-CHARSET * FALLBACK *
PER-SCRIPT ::= '(' SCRIPT PER-LANGUAGE + ')'
PER-LANGUAGE ::= '(' LANGUAGE FONT-SPEC-ELEMENT + ')'
PER-CHARSET ::= '(' CHARSET FONT-SPEC-ELEMENT + ')'
FALLBACK ::= FONT-SPEC-ELEMENT
FONT-SPEC-ELEMENT ::= '(' FONT-SPEC [ FLT-NAME ] ')'
FONT-SPEC ::=
'(' [ FOUNDRY FAMILY
[ WEIGHT [ STYLE [ STRETCH [ ADSTYLE ]]]]]
REGISTRY
[ OTF-SPEC ] [ LANG-SPEC ] ')'
SCRIPT is a symbol of script name (e.g. latin, han) or nil. LANGUAGE is a two-letter symbol of language name code defined by ISO 639 (e.g.
ja, zh) or nil.
FONT-SPEC is to specify properties of a font. FOUNDRY to REGISTRY are symbols corresponding to Mfoundry to Mregistry property of a font.
See m17nFont for the meaning of each property.
OTF-SPEC is a symbol specifyng the required OTF features. The symbol name has the following syntax.
OTF-SPEC-NAME ::= ':otf=' SCRIPT LANGSYS ? GSUB-FEATURES ? GPOS-FEATURES ?
SCRIPT ::= SYMBOL
LANGSYS ::= '/' SYMBOL
GSUB-FEATURES ::= '=' FEATURE-LIST ?
GPOS-FEATURES ::= '+' FEATURE-LIST ?
FEATURE-LIST ::= '~' ? FEATURE ( ',' '~' ? FEATURE ',' )
Here, FEATURE is a four-letter Open Type feature.
LANG-SPEC is a symbol specifying the required language support. The symbol name has the following syntax.
LANG-SPEC-NAME ::= ':lang=' LANG
Here, LANG is a two or three-letter ISO-639 language code.
FLT-NAME is a name of Font Layout Table (Font Layout Table).
EXAMPLE
This is an example of PER_SCRIPT.
(han
(ja
((jisx0208.1983-0)))
(zh
((gb2312.1980-0)))
(nil
((big5-0))))
It instructs the font selector to use a font of registry 'jisx0208.1983-0' for a 'han' character (i.e. a character whose Mscript property
is 'han') if the character has Mlanguage text property 'ja' in an M-text and the character is in the repertories of such fonts. Otherwise,
try a font of registry 'gb2312.1980-0' or 'big5-0'. If that 'han' character does not have Mlanguage text property, try all three fonts.
See the function mdraw_text() for the detail of how a font is selected.
COPYRIGHT
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License
<http://www.gnu.org/licenses/fdl.html>.
Version 1.6.2 12 Jan 2011 mdbFontset(5)