Would like to know if it is possible to rearrange the order that mounts are displayed when the 'bdf' command is issued.
An example of what I mean is, currently I see the following ...
But would prefer to see the mounts in the following order ...
I had a play about and altered the order of items in the /etc/fstab with no change to the output order and have read that changing /etc/mnttab is not recommended or of any use. Whilst the example is for the local mounts, if a solution is possible then I'd also apply the same for NFS mounts too.
A strange query I'd admit, but curious to know if it is possible.
Cheers,
Cameron
Last edited by Perderabo; 12-01-2007 at 11:45 AM..
Reason: Change font tags to code tags for readability
I am trying to write a script that will allow me to do a bdf then do a test for a percentage that is 90% or greater. If the test is true then i want to send a message to myself and one other person.
Any suggestions ? ? ?
Thanks.
....svp (6 Replies)
Being the clever-clogs that I am, I have managed to clobber the contents of /etc/mnttab.
It started when I tried to unmount all the volumes in a prticular veritas disk group and neglected to include a suitable grep in my command line, thus attempting to unmount _all_ the filesystems on the... (7 Replies)
what is the difference between the /etc/vfstab and /etc/mnttab? when i check both files, the content is almost the same. can you enlighten me? what i know is /etc/vfstab is used for hard mounts. (4 Replies)
Hi All,
My current /usr utilization is 100%.As i don't have another harddisk i decided to delete some unnecessary files under /usr.But,while deleteing it is giving error "it is a readonly filesystem".I checked /etc/mnttab file it is showing the following entry
/dev/lofi/1 /usr hsfs ... (3 Replies)
what is the difference between /etc/mnttab and /etc/vfstab???? what are these files used for
one time i removed mnttab file from my solaris box. infact i renamed it and my solaris box was not booting properly. (12 Replies)
SunOS 5.10 Generic_142900-15 sun4u sparc SUNW,SPARC-Enterprise
I have been asked to move all file from /CV to /EABATCH
looking at our mnttab I see these two entries.
wdcprodhome:/eabatch/EABATCH /EABATCH nfs nodevices,bg,intr,xattr,zone=cbp011,dev=5500010 1288539528
... (0 Replies)
hi,
bdf command hangs but before it, it lists all the fstab content, so i cannot find the reason...
could anybody give me any clue??
thanks a lot for your attention.
regards
Pablo
i attach syslog
Jan 14 16:30:00 sv23 vmunix: hp_dlpi_wput:Received an unrecognized primitive: 101d... (7 Replies)
Hi guys, I have to make an output of several databases we've got running on our system with the command bdf. This has to be done every 3 months. I want to put it in an scriptfile and trigger it in crontab. In the output it must display the differences in diskspace between these three monts. Any... (3 Replies)
Hi Guys
New to this forum so apologies if posted in wrong place. Got a unixware 7.1.3 system (I know !). df -k produces no output which I believe is because /etc/mnttab is empty. Can /etc/mnttab be re-built ?
Thanks (2 Replies)
Discussion started by: deel
2 Replies
LEARN ABOUT LINUX
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)