Well for that, we would need to know how many file systems you have and where there are mounted ( mount point ) :
/ is root, that is where /etc /dev reside
/var can be in / or as a separate file system...
(look at the df -k above..)
I'm a bit paranoid so when I configure machines I use file systems:
This is a HP-UX server (command bdf does not exist on solaris...).The reason is : Its easier to find some space to recreate a corrupted file sytem than a whole disk (and I keep aside enough space to be able to recreate the largest file system... that I can temporarily use to do some testing...)
I am trying to set up a trust between two hosts and from another host to both by creating an /etc/hosts.equiv file on both. I am able to rsh to all but one host (and I am able to rsh from that host to the other). I receive the following error:
No utmpx entry. You must exec "login" from the lowest... (1 Reply)
:confused:
HI...
I am a brasilian software maker.
I have a message " utmpx - filesystem isfull - /var/messages/unable to edit data "
Like resolves its problem ???
Tank yours.... (2 Replies)
When shutting down a freshly installed version of 5.7 on a Compaq server I get two messages:
INIT: failed to write of utmpx entry: "s0"
and:
INIT: failed to write of utmpx entry: "fw"
then I can continue with the shutdown. When I bring the system back up it has not saved any of my... (2 Replies)
Want to make a entry for using shell script, something like this:
Name:_____________ Age:____________
address:___________
This entry form showed on the screen when the script executed, ask the user enter the field one by one ( user press <Enter>, cursor will be on the next field), anyone... (5 Replies)
I had a drive go bad. I have replaced the drive and have my system up. I have a 1-to-1 mirror raid. My mirrored boot drive brings the system up. I issued a reboot command. The system comes up gives me a login prompt and generates the error: failed write of utmpx entry:"i2".
What is i2? (1 Reply)
Hi,
i need to setup a cronjob that has will execute iostat command from morning to evening time.
for instance the timing has will be like this.
8:00 A.M -- 6:00P.M
how to define this entry in crontab
Regards (3 Replies)
can anyone explains me the last fields in the below cron job. Here it will run on 31st 23:59.. what is mean by 1-7/2 (first to seventh month) what /2 represents
59 23 31 1-7/2,8-12/2
Thanks in advance. (2 Replies)
1.) I am to write scripts that will be phasetest folder in the home directory.
2.) The folder should have a set-up,phase and display files
I have written a small script which i used to check for the existing users and their password.
What I need help with:
I have a set of questions in a... (19 Replies)
Hi All,
Please help me and guide me to write a bash/shell script on Linux box to delete parent entry with all their child entries.
example:
Parent is :
----------
dn: email=yogesh.kumar@wipro.com, o=wipro, o=in
child is:
----------
dn: cn: yogesh kumar, email=yogesh.kumar@wipro.com,... (1 Reply)
I have the input file like this.
Input file: 12.txt
1) There are one or more than one <tr> tags in same line.
2) Some tr tags may have one <td> or more tna one <td> tags within it.
3) Few <td> tags having "<td> </td>". Few having more than one " " entry in it.
<tr> some td... (4 Replies)
Discussion started by: thomasraj87
4 Replies
LEARN ABOUT SUNOS
vgimportclone
VGIMPORTCLONE(8) System Manager's Manual VGIMPORTCLONE(8)NAME
vgimportclone - import and rename duplicated volume group (e.g. a hardware snapshot)
SYNOPSIS
vgimportclone [-n|--basevgname VolumeGroupName] [-i|--import] PhysicalVolume [PhysicalVolume...]
DESCRIPTION
vgimportclone is used to import a duplicated VG (e.g. hardware snapshot). Duplicate VG(s) and PV(s) are not able to be used until they are
made to coexist with the origin VG(s) and PV(s). vgimportclone renames the VG associated with the specified PV(s) and changes the associ-
ated VG and PV UUIDs.
OPTIONS
See lvm for common options.
-n|--basevgname VolumeGroupName
By default the snapshot VG will be renamed to the original name plus a numeric suffix to avoid duplicate naming (e.g. 'test_vg'
would be renamed to 'test_vg1'). This option will override the base VG name that is used for all VG renames. If a VG already
exists with the specified name a numeric suffix will be added (like the previous example) to make it unique.
-i|--import
Import exported Volume Groups. Otherwise VGs that have been exported will not be changed (nor will their associated PVs).
ENVIRONMENT VARIABLES
LVM_BINARY
The LVM2 binary to use. Defaults to "lvm".
EXAMPLES
The origin VG vg00 has origin PVs /dev/sda and /dev/sdb and the respective snapshot PVs are /dev/sdc and /dev/sdd. To rename the VG asso-
ciated with /dev/sdc and /dev/sdd from vg00 to vg00_snap (and to change associated VG and PV UUIDs) do:
vgimportclone --basevgname vg00_snap /dev/sdc /dev/sdd
SEE ALSO lvm(8)Red Hat, Inc. LVM TOOLS 2.02.95(2) (2012-03-06) VGIMPORTCLONE(8)