02-11-2010
Hi, I would try the following to minimize the downtime
I will asume that the filesystem /Npbsunh2 corresponds for example to c5t6d0s4
0) Stop your non-global-zones (Start your maintenance window)
1) Umount Filesystem
2) Create a concat metadevice
metainit -f d51 1 1 /dev/rdsk/c5t6d0s4
3) Create a simple mirror
metainit d50 -m d51
4) Mount the filesystem but pointing to the mirrror metadevice
mount /dev/md/dsk/d50 /Npbsunh2
5) Start your non-global-zones (Here end your maintenance,window aprox 10 min)
6) Create new concat mirror to teh new disk/slice
metainit -f d52 1 1 /dev/rdsk/c10t0d0s1 (this is the new disk)
7) attach the second concat to the mirror
metattach d50 d52
8) monitoring the sync progress
9) when the sync is at 100% dettach the original disk
metadetach d50 d51
10) Now the filesystem live in the new disk
Notes:
Obviously you first need create the metadb slice if not exist
Later yo can grow the filesystem if is needed,
6 More Discussions You Might Find Interesting
1. Solaris
Using Solaris 10 with Veritas Storage Foundation running. I want to copy all contents from DISKA LUN1 to DISKB LUN2. What would be the command syntax to do this? (0 Replies)
Discussion started by: soupbone38
0 Replies
2. Solaris
Hi,
I have configured our SAN Storage to be connected to our new SUN T5220.
On the SAn it looks all fine
on the server I do not see any connection:
cfgadm -al
Ap_Id Type Receptacle Occupant Condition
c1 scsi-bus connected ... (4 Replies)
Discussion started by: manni2
4 Replies
3. UNIX and Linux Applications
Hi,
i have a server installed samba+openldap (pdc). Need to migration windows server 2003 (active directory) object users, computers.
Where you can read how to do it? Or can tell me how to do it?
Thanks.
P.S. Sorry for bad english (0 Replies)
Discussion started by: ap0st0l
0 Replies
4. Solaris
Hi all,
I'm in a situation which i need to understand the best way of doing a migration of storage involved in a zone.Elements involved are solaris 10 (Generic_144488-08), metasets. I need to provision more storage to the said non-global zone and not aware of the "best practices" from the ... (2 Replies)
Discussion started by: ossupport55
2 Replies
5. Solaris
Hi All
Kindly let me know how can I move Solaris 10 OS running update 10 on physical machine to another machine solaris zone running Solaris 10 update 11 (2 Replies)
Discussion started by: amity
2 Replies
6. Hardware
Hello,
We are considering storage migration for RAC database servers(using ASM) from VMAX to VNX?
Any good/bad pointers in this regards please.
Best regards,
Vishal (1 Reply)
Discussion started by: admin_db
1 Replies
LEARN ABOUT DEBIAN
merge_fonts
merge_fonts(3alleg4) Allegro manual merge_fonts(3alleg4)
NAME
merge_fonts - Merges two fonts into one font. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
FONT *merge_fonts(FONT *f1, FONT *f2)
DESCRIPTION
This function merges the character ranges from two fonts and returns a new font containing all characters in the old fonts. In general, you
cannot merge fonts of different types (eg, TrueType fonts and bitmapped fonts), but as a special case, this function can promote a mono-
chrome bitmapped font to a color font and merge those. Example:
FONT *myfont;
FONT *myfancy_font;
FONT *lower_range;
FONT *upper_range;
FONT *capitals;
FONT *combined_font;
FONT *tempfont;
...
/* Create a font that contains the capitals from */
/* the fancy font but other characters from myfont */
lower_range = extract_font_range(myfont, -1, 'A'-1);
upper_range = extract_font_range(myfont, 'Z'+1, -1);
capitals = extract_font_range(myfancy_font, 'A', 'Z');
tempfont = merge_fonts(lower_range, capitals);
combined_font = merge_fonts(tempfont, upper_range);
/* Clean up temporary fonts */
destroy_font(lower_range);
destroy_font(upper_range);
destroy_font(capitals);
destroy_font(tempfont);
RETURN VALUE
Returns a pointer to the new font or NULL on error. Remember that you are responsible for destroying the font when you are finished with it
to avoid memory leaks.
SEE ALSO
extract_font_range(3alleg4), is_trans_font(3alleg4), is_color_font(3alleg4), is_mono_font(3alleg4), exfont(3alleg4)
Allegro version 4.4.2 merge_fonts(3alleg4)