Tags: disk
Jul
16
Microsoft Windows 2003 introduced a new type of disk layout called GUID Partition Table (GPT) disks. This layout is designed to overcome some problems and deficiencies associated with the traditional master boot record (MBR) style disks. The advantages of GPT disks include:
Partition size that can be up to 18 exabytes.
A GPT disk can contain up to 128 partitions.
Integrity of primary and backup partition tables that allows redundancy.
Partition format that is well defined, fully self-identifying and accommodates future expansion with version number and size fields.
Unique ID for each partition that prevents partition identifier collision.
Initially, only the IA64 (Itanium) version of Windows 2003 supported GPT disks. An IA64 system cannot boot unless the boot disk is a GPT disk. With Service Pack 1, support was added to 32-bit versions of Windows 2003, but a GPT disk is still not supported as the boot disk.
Note: The next version of Windows (currently called Longhorn or Vista) is planned to have boot-from-GPT support for 32-bit processors.
The only way to create a basic GPT disk is to convert an existing empty MBR disk. There can be no partitions or data on the disk. The Microsoft tools to convert the disk will not function if there are existing partitions.
Once you have created a GPT disk, the layout is as follows:

Tags: 2003, advantages, disk, feature, gpt, layout, windows
Jul
16
|
Tasks |
AIX Logical Volume
Manager |
Veritas Volume Manager |
|
Create a Volume Group |
mkvg |
vxdg init |
|
Create a Logical Volume |
mklv |
vxassist make |
|
Add a Physical Disk to a Volume Group |
extendvg |
vxdiskadd |
|
Add Physical Partitions to Logical
Volume |
extendlv |
vxassist growto |
|
Change characteristics of Logical
Volume |
chlv |
vxedit set |
|
Remove Physical Disk from Volume Group |
reducevg |
vxdiskadm |
|
Remove Logical Volume from Volume Group |
rmlv |
vxedit rm |
|
Remove definition of Volume Group from operating
system |
exportvg |
? |
|
Display information about physical volumes, volume groups or
logical volumes |
lspv lsvg lslv |
vxstat |
|
Move Logical Volume to from one Physical Volume to another
Physical Volume |
migratepv |
vxassist move |
|
Administer disks |
extendvg or reducevg |
vxdiskadm |
|
Set up disks |
extendvg |
vxdisksetup |
|
Create configuration records for storage
structures |
mkvg or mklv |
vxmake |
|
Manage plexes or Volume Groups |
mkvg or mklv |
vxplex |
|
Display Volume Group information |
lsvg |
vxprint |
|
Change size of Logical Volume |
extendlv or chlv |
vxresize |
|
Manage subdisk or physical volume |
chpv |
vxsd |
|
Manage volume |
chlv mklv rmlv |
vxvol |
|
Set up sysboot information on VM disk |
bosboot |
vxbootsetup |
|
Manage VM disks |
N/A |
vxdisk |
|
Back up operating system |
mksysb or mkcd |
Solstice Backup:
nwadmin |
|
Solstice Backup: nwadmin |
mksysb or mkcd |
nwadmin nwrecover |
Tags: add, administer, aix, change, characteristics, cheat, command, commands, comparision, configration, create, disk, disks, display, information, logical, manage, manager, operating, partitions, physical, plexes, remove, restore, setup, sheet, size, subdisk, sysboot, system, veritas, volume, vs
Jul
10
Action |
Command Line |
Create a disk group |
vxdg init diskgroup diskname=device |
Add a disk to disk group |
vxdg -g diskgroup adddisk
diskname=device |
Remove a disk from disk group |
vxdg –g diskgroup rmdisk diskname |
Deport, import or destroy a disk group |
vxdg {deport|import|destroy} diskgroup |
List disk groups |
vxdg list [diskgroup] |
Show free/spare space pool |
vxdg –g diskgroup {free|spare} |
Upgrade disk group version |
vxdg [-T version] upgrade diskgroup |
Rewrite disk headers, configuration copies, and kernel log copies in a disk group. |
vxdg flush diskgroup targetdg object...
or
vxdctl enable (for all disk groups) |
Move an object between disk groups |
vxdg move sourcedg targetdg object... |
Split objects between disk groups |
vxdg split sourcedg targetdg object...
|
Join disk groups
|
vxdg join sourcedg targetdg |
List objects affected by a disk group move operation |
vxdg listmove sourcedg targetdg object...
|
Display bootdg
Display defaultdg
Set defaultdg |
vxdg bootdg
vxdg defaultdg
vxdctl defaultdg diskgroup |
Manually back up the disk group configuration
Perform precommit analysis of a restore
Restore the disk group configuration
|
vxconfigbackup diskgroup
vxconfigrestore -p diskgroup
vxconfigrestore -c [-l directory] diskgroup
|
Tags: add, backup, configration, configuration, copies, create, deport, destroy, disk, disk group, display, free, group, headers, import, join, kernel, list, log copies.move, objects, perform, pool, precommit, remove, restore, rewrite, show, space, spare, split, upgrade, veritas, version
Jul
09
Solaris Useful commands at OK prompt. |
Dignostics: |
boot |
General |
banner
this command shows the following systems hardware informatiion : Model,architecture, processor,keyboard, openboot version, Serial no. ethernet address & host id.
test floppy - test floppy disk drive test net - test network loopbacks test scsi - test scsi interface test-all test for all devices with selftest
method
watch-clock
Show ticks of real-time clock
watch-net
Monitor network broadcast packets
watch-net-all
Monitor broadcast packets on all net interfaces
probe-scsi
Show attached SCSI devices
probe-scsi-all
Show attached SCSI devices for all host adapters- internal & external.
|
boot - boot kernel from default device. Factory default is to boot from DISK if present, otherwise from NET.
boot net - boot kernel from network boot cdrom - boot kernel from CD-ROM boot disk1:h - boot from disk1 partition h boot tape - boot default file from tape boot disk myunix -as - boot myunix from disk with flags "-as"
DEVALIAS
ok>show-devs
ok cd /pci@1f,4000/scsi@3
ok .properties
ok
ls
f00809d8 tape
f007ecdc disk
ok
.speed
CPU Speed :200.00MHz
UPA Speed :100.00MHz
PCI Bus A :66Mhz
PCI Bus B :33Mhz
|
printenv Display all variables and current values.
setenv <variable> Set variable to the given value.
set-default
<variable>
Reset the value of variable to the factory default.
set-defaults
Reset variable values to the factory defaults.
|
Key Sequences
These commands are disabled if the PROM security is on. Also, if your system has full security enabled, you cannot apply any of the suggested commands unless you have the password to get to the ok prompt.
Stop - Bypass POST. This command does not depend on security-mode. (Note: some systems bypass POST as a default; in such cases, use Stop-D to start POST.)
Stop-A
Abort.
Stop-D - Enter diagnostic mode (set diag-switch? to true).
Stop-F - Enter
"urn:schemas-microsoft-com:office:smarttags" />
w:st="on">Forth on TTYA instead of probing. Use exit to continue with the initialization sequence. Useful if hardware is broken.
Stop-N Reset NVRAM contents to default values.
|
Start an OpenBoot Diagnostics
<STOP A>
OK setenv diag-switch? true
OK setenv auto-boot? false
OK reset-all
OK test-all or obdiag
Configure Graphics Console (e.g. Sun XVR-100 Graphics Accelerator) instead of serial TTYA
OK show-displays
Select the graphics accelerator, e.g. b
OK nvalias mydev <CTRL-Y>
OK setenv output-device mydev
OK setenv use-nvramrc? true
OK reset-all
Tags: a, banner, boot, boot cdrom, boot disk, boot net, boot tape, cd, commands, diag, disk, myunix, nvalias, ok, ok prompt, printenv, probe-scsi, probe-scsi-all, prompt, properties, set-default, setenv, show-devs, solaris, speed, stop, switch, test floppy, test net, useful, watch-clock, watch-net, watch-net-all
Jul
07
|
Action
|
Command Line
|
|
Initialize a disk
|
vxdisksetup -i device (CDS disk)
vxdisksetup -i device format=sliced (sliced disk)
|
List disks owned by
local and remote hosts
|
vxdisk –o alldgs list
|
|
List disk header
|
vxdisk list diskname|device
|
|
Evacuate a disk
|
vxevac -g diskgroup from_disk to_disk
|
|
Rename a disk
|
vxedit -g diskgroup rename oldname newname
|
|
Set spare, no hot relocation, or reserved space on a disk
|
vxedit -g diskgroup set {spare|nohotuse|reserve}=on|off diskname
|
|
Unrelocate a disk
|
vxunreloc -g diskgroup original_diskname
|
Tags: adding, disk, disk group, evacuate, header, hosts, initializing, list, local, new disk, owned, remote, rename, unrelocate, veritas
Recent comments