07-08-2014 07:27 AM
hi,
a last thing.
if i enable an volume vxvol init enable,then could i mount it?what is the difference between an enabled and active volume?
thanks so much.
Solved! Go to Solution.
07-08-2014 07:33 AM
Command is incorrect ... to start a volume , you need to use
# vxvol -g <diskgroup> start <vol>
With above command, volume should come in "Enabled Active" state. This is the working state of a volume, if you have filesystem already on volume, you should be able to mount it using mount command.
There are 2 states of any virtual object, state & kstate (kernel state), that is why you see two states i.e Enabled & Active.
Basis on some of your past queries. may be this is worth reading
http://www.symantec.com/docs/TECH18795
http://www.symantec.com/docs/TECH194469
07-08-2014 07:38 AM
Also, there is lot to read in vxvol man page
https://sort.symantec.com/public/documents/sfha/6.1/solaris/manualpages/html/man/volume_manager/html/man1m/vxvol.1m.html
G
07-08-2014 12:59 PM
Please go back to the top of the page you are quoting from:
A volume may be initialized by running the vxvol command if the volume was created by the vxmake command and has not yet been initialized, or if the volume has been set to an uninitialized state.
Fact is this comand is still there for the old style 'bottom-up' creation of volumes.
In all honesty, I have only used the vxmake command when I was first introduced to VxVM more than 15 years ago.
Another use for vxmake is to rebuild volumes from 'vxprint' output. (This is how we did it before we had vxconfigbackup and vxconfigrestore)
BUT ... there is honestly no longer a need for volume creation using 'bottom-up' method.
Use vxassist - it will create a volume with a single command. No need for these vxvol commands.
And use vxconfigbackup and -restore to rebuild/recreate volumes.
PS:
Have you looked yet for Storage Foundation and Cluster training in your area?
07-08-2014 09:10 PM
In addition to Marianne's clean explanation, if you were concerned about below command
# vxvol [-g diskgroup] init enable volume
you are referring to a external website & that too for 4.1 versio however if you look at same command from the latest man page
vxvol init enable volume | |
Enables the volume and its plexes but leaves the volume uninitialized. This operation can be used only for non-enabled volumes. It is used to temporarily enable a volume so that data can be loaded onto it to make it consistent. Once the data has been loaded, init active should be used to fully enable the volume. init active could be used, for example, if a complete image of the volume is to be loaded from a tape. |
This would explain what you are looking for.
G
07-08-2014 07:33 AM
Command is incorrect ... to start a volume , you need to use
# vxvol -g <diskgroup> start <vol>
With above command, volume should come in "Enabled Active" state. This is the working state of a volume, if you have filesystem already on volume, you should be able to mount it using mount command.
There are 2 states of any virtual object, state & kstate (kernel state), that is why you see two states i.e Enabled & Active.
Basis on some of your past queries. may be this is worth reading
http://www.symantec.com/docs/TECH18795
http://www.symantec.com/docs/TECH194469
07-08-2014 07:38 AM
Also, there is lot to read in vxvol man page
https://sort.symantec.com/public/documents/sfha/6.1/solaris/manualpages/html/man/volume_manager/html/man1m/vxvol.1m.html
G
07-08-2014 08:21 AM
i red the vxvol man but is not clear the difference betwen enable or active.anyway active is the working status.
07-08-2014 08:48 AM
Don't look for difference between Enabled & Active as Enabled is Kernel state of volume while "Active" is non kernel state.
Both status are mandatory for a functional volume
G
07-08-2014 09:17 AM
hi,
A volume may be initialized by running the vxvol command if the volume was created by the vxmake command and has not yet been initialized, or if the volume has been set to an uninitialized state.
To initialize and start a volume, use the following command:
# vxvol [-g diskgroup] start volume
The following command can be used to enable a volume without initializing it:
# vxvol [-g diskgroup] init enable volume
This allows you to restore data on the volume from a backup before using the following command to make the volume fully active:
# vxvol [-g diskgroup] init active volume
If you want to zero out the contents of an entire volume, use this command to initialize it:
# vxvol [-g diskgroup] init zero volume
So vxvol init enable or active was my question about the difference.
07-08-2014 12:59 PM
Please go back to the top of the page you are quoting from:
A volume may be initialized by running the vxvol command if the volume was created by the vxmake command and has not yet been initialized, or if the volume has been set to an uninitialized state.
Fact is this comand is still there for the old style 'bottom-up' creation of volumes.
In all honesty, I have only used the vxmake command when I was first introduced to VxVM more than 15 years ago.
Another use for vxmake is to rebuild volumes from 'vxprint' output. (This is how we did it before we had vxconfigbackup and vxconfigrestore)
BUT ... there is honestly no longer a need for volume creation using 'bottom-up' method.
Use vxassist - it will create a volume with a single command. No need for these vxvol commands.
And use vxconfigbackup and -restore to rebuild/recreate volumes.
PS:
Have you looked yet for Storage Foundation and Cluster training in your area?
07-08-2014 09:10 PM
In addition to Marianne's clean explanation, if you were concerned about below command
# vxvol [-g diskgroup] init enable volume
you are referring to a external website & that too for 4.1 versio however if you look at same command from the latest man page
vxvol init enable volume | |
Enables the volume and its plexes but leaves the volume uninitialized. This operation can be used only for non-enabled volumes. It is used to temporarily enable a volume so that data can be loaded onto it to make it consistent. Once the data has been loaded, init active should be used to fully enable the volume. init active could be used, for example, if a complete image of the volume is to be loaded from a tape. |
This would explain what you are looking for.
G
07-09-2014 03:40 AM
Please only use current manuals on Symantec's SORT site: https://sort.symantec.com/documents
If you want to Google commands/options/concepts, start your Google search with the following in the search bar:
site:symantec.com <search criteria....>
e.g.
site:symantec.com vxvol command usage
07-09-2014 04:05 AM
Hi Marianne,
thanks so much.