NetBeans for PHP: Static code analysis
17 hours ago
Informations about the experience I made with Sun-Solaris/OpenSolaris and some other stuff
[ewer@sunray2:/]>utdiskadm -l
Device Partition Mount Path
------ --------- ----------
disk1 disk1s2 /tmp/SUNWut/mnt/ewer/noname
[ewer@sunray2:/]>utdiskadm -u /tmp/SUNWut/mnt/ewer/noname
[ewer@sunray2:/]>utdiskadm -l
Device Partition Mount Path
------ --------- ----------
disk1 disk1s2
[ewer@sunray2:/]>utdiskadm -r disk1
bash-3.2$ pfexec ramdiskadm -a ramdisk1 100m
/dev/ramdisk/ramdisk1
bash-3.2$ pfexec ramdiskadm -a ramdisk2 100m
/dev/ramdisk/ramdisk2
bash-3.2$ pfexec zpool create rampool mirror /dev/ramdisk/ramdisk1 /dev/ramdisk/ramdisk2
bash-3.2$ zpool status
Pool: fujiUSB
Status: ONLINE
scrub: Keine erforderlich
config:
NAME STATE READ WRITE CKSUM
fujiUSB ONLINE 0 0 0
c6t0d0s7 ONLINE 0 0 0
Fehler: Keine bekannten Datenfehler
Pool: rampool
Status: ONLINE
scrub: Keine erforderlich
config:
NAME STATE READ WRITE CKSUM
rampool ONLINE 0 0 0
mirror ONLINE 0 0 0
/dev/ramdisk/ramdisk1 ONLINE 0 0 0
/dev/ramdisk/ramdisk2 ONLINE 0 0 0
Fehler: Keine bekannten Datenfehler
Pool: rpool
Status: ONLINE
scrub: Keine erforderlich
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
c3d0s0 ONLINE 0 0 0
Fehler: Keine bekannten Datenfehler
bash-3.2$ zfs list | grep rampool
rampool 70,5K 63,4M 18K /rampool
bash-3.2$ pfexec zpool destroy rampoolIt is really that easy, when you know it.
bash-3.2$ pfexec ramdiskadm -d ramdisk1
bash-3.2$ pfexec ramdiskadm -d ramdisk2
