03-10-2008
I have a feeling that it might help to actually state what it is you need help with... just my two cents...
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I recently had a disk crash and was not able to clean the dump lv off the disk. Now trying to create new lvdump I am running into errors.
My question is how do I remove the old lv out of the ODM? I have tried going through smit and also just rmlv and it cannot find the lv. Yet when I run lslv on... (0 Replies)
Discussion started by: Wamland
0 Replies
2. AIX
I have replace a couple of hdisks in and old AIX 4 system. I have them assigned to the hdisk numbers previously in the system. When I don an lsvg -p vgname, i see them old devices by device number still come up as missing. I think they are still in the ODM,, how can I remove them?
Thanks
Mike (5 Replies)
Discussion started by: mhenryj
5 Replies
3. AIX
Hi Everyone,
I would like to know if its possible to create a 2 copy mirror using LVM with 1 member a FC attached disk and the other an iscsi disk.
Will LVM let me mirror to two different disk types?
I know there will be issues doing this however it is only a short term solution until we... (1 Reply)
Discussion started by: bizman
1 Replies
4. AIX
Hi All,
I remove the default gateway by using a command line but I need also to remove it from ODM so that reboot will not trigger it back.
How do I remove it from ODM of AIX 5.3?
Thanks for any comment you may add. (4 Replies)
Discussion started by: itik
4 Replies
5. HP-UX
Hi,
I'm new to HP-UX.
I have LVM on /var with 92Gig. I would like to reduce it to create another LVM for Oracle client with 800 meg or so. How to do it. I'm running 11.iv3
Thanks (4 Replies)
Discussion started by: lamoul
4 Replies
6. AIX
Hi,
I gonna try to explain my problem.
When I list my tty I have something like that:
sa3 is the RAN where the tty are connected.
Yesterday I tried to delete every tty from the RAN
I had a problem with a tty which was not possible to delete with rmdev -dl, so I had to :
- delete it... (0 Replies)
Discussion started by: Castelior
0 Replies
7. AIX
Please consider this a question about basics&best practices. On AIX 5.3 system, three raw physical volumes are defined from storage. While doing a read with command dd from the raw device, the speed rate is 250Mb/s.
Then, it gets complex when I define these three pv's to an lv of type raw. Doing... (4 Replies)
Discussion started by: royalliege
4 Replies
8. AIX
Hello!
I did a big mistake and now I have to change the ODM base manually :wall:
I had a server of test with 2 VG (rootvg and datavg). I had to test something on it with an other AIX version. So, to be sure to restore it, i did a mksysb before but I had completly forgotten the second vg and... (1 Reply)
Discussion started by: Castelior
1 Replies
9. UNIX for Dummies Questions & Answers
Hi Guys,
I m using redhat 6, I have installed root partition as non-LVM .
Is there any way i can convert it to LVM? (1 Reply)
Discussion started by: pinga123
1 Replies
10. Red Hat
Hello All,
I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows,
/boot - Linux Partition & another is
LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc).
Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 Replies
LEARN ABOUT REDHAT
mbsinit
MBSINIT(3) Linux Programmer's Manual MBSINIT(3)
NAME
mbsinit - test for initial shift state
SYNOPSIS
#include <wchar.h>
int mbsinit(const mbstate_t *ps);
DESCRIPTION
Character conversion between the multibyte representation and the wide character representation uses conversion state, of type mbstate_t.
Conversion of a string uses a finite-state machine; when it is interrupted after the complete conversion of a number of characters, it may
need to save a state for processing the remaining characters. Such a conversion state is needed for the sake of encodings such as ISO-2022
and UTF-7.
The initial state is the state at the beginning of conversion of a string. There are two kinds of state: The one used by multibyte to wide
character conversion functions, such as mbsrtowcs, and the one used by wide character to multibyte conversion functions, such as wcsrtombs,
but they both fit in a mbstate_t, and they both have the same representation for an initial state.
For 8-bit encodings, all states are equivalent to the initial state. For multibyte encodings like UTF-8, EUC-*, BIG5 or SJIS, the wide
character to multibyte conversion functions never produce non-initial states, but the multibyte to wide character conversion functions like
mbrtowc do produce non-initial states when interrupted in the middle of a character.
One possible way to create an mbstate_t in initial state is to set it to zero:
mbstate_t state;
memset(&state,0,sizeof(mbstate_t));
On Linux, the following works as well, but might generate compiler warnings:
mbstate_t state = { 0 };
The function mbsinit tests whether *ps corresponds to an initial state.
RETURN VALUE
mbsinit returns non-zero if *ps is an initial state, or if ps is a null pointer. Otherwise it returns 0.
CONFORMING TO
ISO/ANSI C, UNIX98
SEE ALSO
mbsrtowcs(3), wcsrtombs(3)
NOTES
The behaviour of mbsinit depends on the LC_CTYPE category of the current locale.
GNU
2000-11-20 MBSINIT(3)