OpenSolaris

Discussions Communities Projects Download Source Browser

Home » OpenSolaris Forums » xen » discuss

Thread: pkgrm on 2008.05 broken?

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 14 - Last Post: Sep 6, 2008 2:50 PM by: mar.ste
a30blows

Posts: 14
From:

Registered: 3/6/08
pkgrm on 2008.05 broken?
Posted: May 12, 2008 3:10 PM
To: Communities » xen » discuss
  Click to reply to this thread Reply

Can anyone confirm that there is insufficient information installed in 2008.05 for pkgrm to remove packages?

All of my attempts are met with "unable to change current working directory to </var/s, and indeed these directories are missing.

shambles

Posts: 508
From: GB

Registered: 4/27/05
Re: pkgrm on 2008.05 broken?
Posted: May 12, 2008 3:22 PM   in response to: a30blows

  Click to reply to this thread Reply

Stephen,

> Can anyone confirm that there is insufficient information installed in 2008.05 for pkgrm to remove packages?
>
> All of my attempts are met with "unable to change current working directory to </var/s, and indeed these directories are missing

With the advent of IPS, I see this too, and the method of package
removal is now through the pkg utility. I successfully tested it on the
package SUNWxwice (which I had never heard of before...) with "pkg
uninstall SUNWxwice".

Regards... Sean.


_______________________________________________
xen-discuss mailing list
xen-discuss at opensolaris dot org


comay

Posts: 962
From: US

Registered: 3/9/05
Re: pkgrm on 2008.05 broken?
Posted: May 12, 2008 4:28 PM   in response to: a30blows

  Click to reply to this thread Reply

[ Redirecting to indiana-discuss as this isn't related to xVM. ]

> Can anyone confirm that there is insufficient information installed in 2008.05 for pkgrm to remove packages?
>
> All of my attempts are met with "unable to change current working directory to </var/s, and indeed these directories are missing.

Which packages are you trying to remove using pkgrm(1M)? Packages
installed via IPS can be removed using "pkg uninstall" but pkgrm can
only remove packages that were previously added using pkgadd(1M).

dsc
_______________________________________________
xen-discuss mailing list
xen-discuss at opensolaris dot org


a30blows

Posts: 14
From:

Registered: 3/6/08
Re: pkgrm on 2008.05 broken?
Posted: May 12, 2008 5:50 PM   in response to: comay
To: Communities » xen » discuss
  Click to reply to this thread Reply

I am removing 300+ packages to make a small install. It is used to instantiate a utility appliance which performs operations over UFS volumes (and ZFS pools soon...), so it requires very limited functionality.

I've got "pkg uninstall" working and have whittled the install down to 984MB. We'll see if it works...

mrj

Posts: 547
From: US

Registered: 3/9/05
Re: pkgrm on 2008.05 broken?
Posted: May 13, 2008 6:40 AM   in response to: a30blows

  Click to reply to this thread Reply



Stephen Quintero wrote:
> I am removing 300+ packages to make a small install. It is used to instantiate a utility appliance which performs operations over UFS volumes (and ZFS pools soon...), so it requires very limited functionality.
>
> I've got "pkg uninstall" working and have whittled the install down to 984MB. We'll see if it works...


With the pkg stuff. I can get to ~ 525M with about
200M of that being the two boot_archives.


: alpha[1]#; dd if=/dev/zero of=./disk.img bs=1024k count=750
650+0 records in
650+0 records out
: alpha[1]#; lofiadm -a `pwd`/disk.img
/dev/lofi/1
: alpha[1]#; newfs /dev/lofi/1
newfs: construct a new file system /dev/rlofi/1: (y/n)? y
/dev/rlofi/1: 1330800 sectors in 2218 cylinders of 1 tracks, 600 sectors
649.8MB in 139 cyl groups (16 c/g, 4.69MB/g, 2240 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 9632, 19232, 28832, 38432, 48032, 57632, 67232, 76832, 86432,
1238432, 1248032, 1257632, 1267232, 1276832, 1286432, 1296032, 1305632,
1315232, 1324832
: alpha[1]#; mount /dev/lofi/1 /mnt
: alpha[1]#; /tank/ws/embedded/pkg.sh
: alpha[1]#; umount /mnt
: alpha[1]#; lofiadm -d /dev/lofi/1
: alpha[1]#; xm new -f os.py



MRJ



where os.py is
--
name = "opensolaris"
vcpus = 1
memory = "1024"
extra = "-k"
root = "/dev/dsk/c0d0s0"
disk = ['file:/tank/guests/embedded/disk.img,0,w']
vif = ['']
on_shutdown = "destroy"
on_reboot = "restart"
on_crash = "destroy"


and pkg.sh is
--
#!/bin/ksh

ROOTDIR=/mnt

BASE="
SUNWcsd
SUNWcs
SUNWcar
SUNWcarx
SUNWcakr
SUNWcakrx
SUNWos86r
SUNWkvm
SUNWrmodr
SUNWpsdcr
SUNWpsdir
SUNWcnetr
SUNWesu
SUNWkey
SUNWuprl
SUNWkrb
SUNWbip
SUNWzfskr
SUNWbash
SUNWipf
SUNWbash
SUNWfmd
SUNWgrub
SUNWtoo
SUNWbind
SUNWrcmdc
SUNWperl584core
"

# packaging system
PKG="
SUNWPython
SUNWPython-extra
SUNWipkg
"

# needed for sys-unconfig, etc.
SYSID="
SUNWadmap
SUNWadmlib-sysid
SUNWadmr
"

SSH="
SUNWsshcu
SUNWsshd
SUNWssh
"

NFSCLIENT="
SUNWnfsckr
SUNWnfsc
"

NFSSERVER="
SUNWnfsskr
SUNWnfss
"

NIS="
SUNWnis
"
AUTOFS="
SUNWatfs
"

MDB="
SUNWmdb
"

DOM0="
SUNWvirtinst
SUNWurlgrabber
SUNWlibvirt
SUNWxvmhvm
SUNWxvmdom
SUNWxvm
SUNWgnutls
SUNWlibsdl
FSWxwpft
FSWxwrtl
"

# dom0 devices
DEVS="
SUNWbge
SUNWnge
SUNWrge
SUNWxge
SUNWintgige
SUNWahci
SUNWmv88sx
SUNWnvsata
SUNWsi3124
"

# create the packaging db
/usr/bin/pkg image-create -F -a opensolaris.org=http://pkg.opensolaris.org $ROOTDIR

cd $ROOTDIR
echo "adding packages to `pwd`"
for pkg in $BASE $PKG $SYSID $SSH $MDB $NFSCLIENT $AUTOFS $NIS; do
/usr/bin/pkg install $pkg
done

# dom0 support
#for pkg in $DOM0 $DEVS; do
# /usr/bin/pkg install $pkg
#done

# seed the SMF repository
/usr/bin/cp $ROOTDIR/lib/svc/seed/global.db $ROOTDIR/etc/svc/repository.db
chmod 600 $ROOTDIR/etc/svc/repository.db
cd $ROOTDIR/var/svc/profile/
ln -s generic_limited_net.xml generic.xml
ln -s ns_files.xml name_service.xml

# save away vfstab for domU and ramdisk
/usr/bin/cp $ROOTDIR/etc/vfstab $ROOTDIR/etc/vfstab.disk
/usr/bin/cp $ROOTDIR/etc/vfstab $ROOTDIR/etc/vfstab.ramdisk
echo "/devices/ramdisk:a - / ufs - no nologging" >> $ROOTDIR/etc/vfstab.ramdisk
echo "/dev/dsk/c0d0s0 /dev/rdsk/c0d0s0 / ufs 1 no -" >> $ROOTDIR/etc/vfstab.disk

# build up /dev. This causes some minor problems but will self correct.
# XXX - This would be better if we had a seed tarball.
/usr/sbin/devfsadm -R $ROOTDIR

# make the disk links for domU
cd $ROOTDIR/dev/dsk
rm -f c0d0s0
/usr/bin/ln -s ../../devices/xpvd/xdf@0:a c0d0s0
cd $ROOTDIR/dev/rdsk
rm -f c0d0s0
/usr/bin/ln -s ../../devices/xpvd/xdf@0:a,raw c0d0s0
/usr/bin/cp $ROOTDIR/etc/vfstab.disk $ROOTDIR/etc/vfstab

# spinkle a little magic sysconfig ***** dust
echo "/lib/svc/method/sshd\n\
/usr/sbin/sysidkbd\n\
/usr/sbin/sysidpm\n\
/lib/svc/method/net-nwam\n\
/usr/lib/cc-ccr/bin/eraseCCRRepository" > $ROOTDIR/etc/.sysidconfig.apps

# setup the image so we need to configure it on first boot
# XXX: if we setup timezone, could we save the reboot??
/usr/sbin/sys-unconfig -R $ROOTDIR

# remove some Indiana iso specific stuff
cat $ROOTDIR/etc/passwd | sed '/^jack/d' > $ROOTDIR/etc/passwd.new;mv -f $ROOTDIR/etc/passwd.new $ROOTDIR/etc/passwd
cat $ROOTDIR/etc/shadow | sed '/^jack/d' > $ROOTDIR/etc/shadow.new;mv -f $ROOTDIR/etc/shadow.new $ROOTDIR/etc/shadow
cat $ROOTDIR/etc/user_attr | sed 's/^root::::type=role;/root::::/g' > $ROOTDIR/etc/user_attr.new;mv -f $ROOTDIR/etc/user_attr.new $ROOTDIR/etc/user_attr

echo "build boot_archive"
/usr/sbin/bootadm update-archive -R $ROOTDIR

_______________________________________________
xen-discuss mailing list
xen-discuss at opensolaris dot org


jkeil

Posts: 2,324
From: DE

Registered: 6/16/05
Re: pkgrm on 2008.05 broken?
Posted: May 13, 2008 8:19 AM   in response to: mrj
To: Communities » xen » discuss
  Click to reply to this thread Reply

> With the pkg stuff. I can get to ~ 525M with about
> 200M of that being the two boot_archives.

Did you remove /usr/bin/mkisofs ? When the mkisofs utility is available,
bootadm update-archive (or /boot/solaris/bin/create_ramdisk)
is able to create much smaller boot_archives (50M, 2 * 25M).

mrj

Posts: 547
From: US

Registered: 3/9/05
Re: pkgrm on 2008.05 broken?
Posted: May 13, 2008 11:17 AM   in response to: jkeil

  Click to reply to this thread Reply



Jürgen Keil wrote:
>> With the pkg stuff. I can get to ~ 525M with about
>> 200M of that being the two boot_archives.
>
> Did you remove /usr/bin/mkisofs ? When the mkisofs utility is available,
> bootadm update-archive (or /boot/solaris/bin/create_ramdisk)
> is able to create much smaller boot_archives (50M, 2 * 25M).
>

Ahhhh, yeah. That wasn't included in the minimal set
of packages.

I did a
pkg install SUNWmkcd


touch a file in platform and reran
bootadm update-archive, the disk
went from
~ 525M to ~ 390M.

Still plenty of stuff which can be
removed.. Hopefully the packages will
be getting slimmed up over time...



Thanks,

MRJ


_______________________________________________
xen-discuss mailing list
xen-discuss at opensolaris dot org


virtguru

Posts: 34
From: CZ

Registered: 5/14/08
Re: pkgrm on 2008.05 broken?
Posted: May 17, 2008 10:20 PM   in response to: mrj
To: Communities » xen » discuss
  Click to reply to this thread Reply

This is feature of new IPS based install and net repositorires:

When you install one pkg from IPS based repository its dependencies are automaticaly taken in account. You can try install one pacage, but you can get 10 packages by depend selection !

As you can see this issue in my try to build CLI JeOS (Just Enought OS - minimalized OS) from OpenSolaris Indiana line, http://blogs.sun.com/VirtualGuru/entry/warm_welcome_opensolaris_on_amazon OpenSolaris on Amazon EC2 Workshop

There I am trying to put all packages list on "pkg install" line and after their install to figure out what packages was selected by 'depend'.

Basically if you REALY wan't wery small system (like to write it to FLASH disk) you can uninstall aditioanl packages selected by depend, if you are sure you din't use/need them, but to have system with brocken dependecies is open way to hell.

If I will be short on install space I will personaly try to use ZFS compression first , rather to brake pkg dependencies !

This was my 10c

Virtual Guru

mar.ste

Posts: 47
From: IT

Registered: 7/23/08
Re: pkgrm on 2008.05 broken?
Posted: Aug 5, 2008 3:24 PM   in response to: a30blows
To: Communities » xen » discuss
  Click to reply to this thread Reply

a30blows:
> I am removing 300+ packages to make a small install.
> It is used to instantiate a utility appliance which
> performs operations over UFS volumes (and ZFS pools
> soon...), so it requires very limited
> functionality.

Would you publish this appliance?
I (as others probably) was thinking to do the same: a little hardened VirtualBox appliance to be used as a "portable" ZFS NAS BOX!

mar.ste

Posts: 47
From: IT

Registered: 7/23/08
Re: pkgrm on 2008.05 broken?
Posted: Aug 6, 2008 10:34 AM   in response to: a30blows
To: Communities » xen » discuss
  Click to reply to this thread Reply

PS: could not be better instead of removing, adding packages?

Here it seems is the base to start with http://docs.sun.com/app/docs/doc/819-5455/gemmd?l=en&a=view&q=miniroot

mrj

Posts: 547
From: US

Registered: 3/9/05
Re: pkgrm on 2008.05 broken?
Posted: Aug 6, 2008 3:14 PM   in response to: mar.ste

  Click to reply to this thread Reply



Steve wrote:
> PS: could not be better instead of removing, adding packages?
>
> Here it seems is the base to start with http://docs.sun.com/app/docs/doc/819-5455/gemmd?l=en&a=view&q=miniroot

yeah, I can get down to ~ 155M for a bare install
if I build up from scratch using the new packaging
system and then remove the 64-bit bins/libs.

If you add in ssh client/server, nfs client/server,
and autofs, it will be ~ 10M more.

If we can break up the packages at some point,
should be able to save quite a bit more.


MRJ




: alpha[1]#; xm create -c /tank/guests/small/guest.py
Using config file "/tank/guests/small/guest.py".
Started domain small
Loading kmdb...
v3.1.4-xvm chgset 'Fri Aug 01 07:50:00 2008 -0700 15884:a4945a4ecb6a'
SunOS Release 5.11 Version snv_94 32-bit
Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Hostname: unknown
Reading ZFS config: done.

unknown console login: root
Password:
Last login: Wed Aug 6 17:47:31 on console
Aug 6 17:57:55 unknown login: ROOT LOGIN /dev/console
Sun Microsystems Inc. SunOS 5.11 snv_94 January 2008
-bash-3.2# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 0 0 6 17:57:16 ? 0:00 sched
root 1 0 0 17:57:16 ? 0:00 /sbin/init
root 2 0 0 17:57:16 ? 0:00 pageout
root 3 0 0 17:57:16 ? 0:00 fsflush
root 242 239 0 17:57:37 ? 0:00 /usr/lib/saf/ttymon
root 7 1 0 17:57:16 ? 0:01 /lib/svc/bin/svc.startd
root 9 1 0 17:57:16 ? 0:03 /lib/svc/bin/svc.configd
root 112 1 0 17:57:31 ? 0:00 /usr/lib/picl/picld
dladm 12 1 0 17:57:18 ? 0:00 /sbin/dlmgmtd
root 246 1 0 17:57:37 ? 0:00 /usr/lib/utmpd
daemon 237 1 0 17:57:37 ? 0:00 /usr/sbin/rpcbind
root 31 1 0 17:57:18 ? 0:00 /sbin/dhcpagent
daemon 92 1 0 17:57:31 ? 0:00 /usr/lib/crypto/kcfd
root 239 7 0 17:57:37 ? 0:00 /usr/lib/saf/sac -t 300
root 231 1 0 17:57:35 ? 0:00 /usr/sbin/nscd
root 99 1 0 17:57:31 ? 0:00 /usr/lib/sysevent/syseventd
root 251 1 0 17:57:37 ? 0:00 /usr/sbin/syslogd
root 298 252 0 17:58:11 console 0:00 ps -ef
root 244 1 0 17:57:37 ? 0:00 /usr/lib/inet/inetd start
root 179 1 0 17:57:34 ? 0:00 /usr/sbin/cron
root 252 7 0 17:57:37 console 0:00 -bash
-bash-3.2#


I added in pkg install'd mdb later to check the memory usage,
it's pretty reasonable too even with all of the modules that
are currently loaded.. (ignore the bug in Free (freelist)).



-bash-3.2# mdb -K

Welcome to kmdb
Loaded modules: [ scsi_vhci neti xpv_psm ufs unix zfs krtld uhci hook lofs
genunix ip usba specfs md sctp arp xpv_uppc ]
[0]> ::memstat
Page Summary Pages MB %Tot
------------ ---------------- ---------------- ----
Kernel 13896 54 5%
Anon 5101 19 2%
Exec and libs 2212 8 1%
Page cache 2284 8 1%
Free (cachelist) 1387 5 1%
Free (freelist) 3925600342735 386547056640 17683276322169683968%
Balloon 0 0 0%

Total 259071 1011
[0]> ::modinfo
ID LOADADDR SIZE REV MODULE NAME
0 f4c00000 1337c6 0 unix (?)
1 f4ccd4b8 1ed758 0 genunix (?)
2 f4e82cc0 75a50 0 kmdbmod (?)
3 f4ee8478 7248 0 ctf (?)
4 0 0 0 cl_bootstrap (?)
5 f4f2e000 4950 1 specfs (filesystem for specfs)
6 f4f328f0 3280 1 fifofs (filesystem for fifo)
7 0 0 0 dtrace (?)
8 f4f36460 4278 1 devfs (devices filesystem 1.20)
9 f4f3a568 c460 1 dev (/dev filesystem 1.6)
10 f4f466b8 6bcc 1 dls (Data-Link Services v1.14)
11 f4f4d04c 4344 1 mac (MAC Services)
12 0 0 0 lbl_edition (?)
13 f4f51160 2fc4 1 TS (time sharing sched class)
14 f4f53bd4 8c4 1 TS_DPTBL (Time sharing dispatch table)
15 0 0 0 sysinit (?)
16 0 0 0 xpv_autoconfig (?)
17 f4f53d84 275c 1 xpv_uppc (UniProcessor PC)
18 f4f56370 462b0 1 acpica (ACPI interpreter)
19 f4f9d478 8414 1 xpv_psm (platform module 1.6)
20 0 0 0 pcplusmp (?)
21 f4fa6bf4 334 1 xpvtod (TOD module for i86xpv)
22 f4fa6ec0 4024 1 rootnex (i86pc root nexus 1.144)
23 f4faacf4 174 1 options (options driver)
24 f4faae08 85c 1 pseudo (nexus driver for 'pseudo' 1.29)
25 f4fab53c 4ac 1 clone (Clone Pseudodriver 'clone')
26 f4fab8c0 e3f4 1 scsi_vhci (SCSI VHCI Driver 1.74)
27 f4fb9b84 f440 1 scsi (SCSI Bus Utility Routines)
28 f4fc889c b3c 1 scsi_vhci_f_asym_sun (f_asym_sun 1.8)
29 f4fc9378 16a4 1 scsi_vhci_f_asym_lsi (f_asym_lsi 1.25)
30 f4fca8ec c34 1 scsi_vhci_f_asym_emc (f_asym_emc 1.3)
31 f4fcb4a8 2bc 1 scsi_vhci_f_sym_emc (f_sym_emc 1.1)
32 f4fcb6fc 594 1 scsi_vhci_f_sym_hds (f_sym_hds 1.3)
33 f4fcbc30 464 1 scsi_vhci_f_sym (f_sym 1.13)
34 f4fcbff4 844 1 scsi_vhci_f_tpgs (f_tpgs 1.10)
35 0 0 0 hvm_bootstrap (?)
36 f4fcc7d8 34968 1 ufs (filesystem for ufs)
37 f4fffc48 20c 1 fssnap_if (File System Snapshot Interface)
38 ef603000 106c 1 xpvd (virtual device nexus driver 1.5)
39 ef604000 4134 1 xdf (virtual block driver 1.12)
40 ef608000 5608 1 cmlb (Common Labeling module 1.11)
41 ef60d000 2ae8 1 ctfs (contract filesystem)
42 ef610000 12950 1 procfs (filesystem for proc)
43 ef623000 1e30 1 mntfs (mount information file system)
44 ef625000 da38 1 tmpfs (filesystem for tmpfs)
45 ef62b000 18c0 1 objfs (kernel object filesystem)
46 ef62d000 19b8 1 sharefs (sharetab filesystem)
47 ef60cd78 30c 1 cpunex (cpu nexus driver v1.0)
48 0 0 0 cpudrv (?)
49 0 0 0 c2audit (?)
50 ef63f000 209c8 1 sockfs (filesystem for sockfs)
51 ef65f000 122f08 1 ip (IP STREAMS driver 1.47)
52 ef776000 212c 1 md5 (MD5 Message-Digest Algorithm)
53 ef778000 1a284 1 kcf (Kernel Crypto Framework)
54 ef792000 1914 1 swrand (Kernel Random number Provider)
55 ef793000 2b5c 1 sha1 (SHA1 Message-Digest Algorithm)
56 ef622268 dbc 1 hook (Hooks Interface v1.0)
57 ef62a758 8cc 1 neti (netinfo module 1.0)
58 ef62f000 1724 1 strplumb (STREAMS Plumbing Module)
59 ef631000 5f14 1 dld (Data-Link Driver)
60 ef624dd0 33c 1 ip6 (IP6 STREAMS driver 1.11)
61 ef636db4 38c 1 tcp (TCP STREAMS driver 1.57)
62 ef799d78 34c 1 tcp6 (TCP6 STREAMS driver 1.16)
63 ef795c9c 38c 1 udp (UDP STREAMS driver 1.46)
64 ef60f920 34c 1 udp6 (UDP6 STREAMS driver 1.11)
65 ef60fb2c 33c 1 sctp (SCTP device)
66 ef60fd28 33c 1 sctp6 (SCTP6 device)
67 ef775790 38c 1 icmp (ICMP STREAMS driver 1.46)
68 ef7759b4 344 1 icmp6 (ICMP6 STREAMS driver 1.12)
69 ef79a000 5a4c 1 arp (ARP STREAMS driver 1.46)
70 ef7a0000 3a34 1 timod (transport interface str mod)
71 ef602238 e4c 1 sad (STREAMS Administrative Driver ')
72 0 0 0 consconfig (?)
73 ef7a4000 3834 1 consconfig_dacf (Consconfig DACF 1.41)
74 ef7a7000 3f2c 1 usbser (USB generic serial module)
75 ef7ab000 23414 1 usba (USBA: USB Architecture 2.0 1.66)
76 ef7d3000 238c 1 conskbd (conskbd multiplexer driver 5.69)
77 ef7d6000 3b2c 1 kbtrans (kbtrans (key translation) 1.32)
78 ef7d9000 1524 1 consms (Mouse Driver for Sun 'consms' 5)
79 ef63e000 113c 1 wc (Workstation multiplexer Driver )
80 ef7db000 7cec 1 tem (ANSI Terminal Emulator)
81 ef63066c 9fc 1 iwscn (Workstation Redirection driver )
82 ef7df000 1a6c 1 xencons (virtual console driver 1.2)
83 0 0 0 isa (?)
84 ef7e3000 1ad4 1 busra (Bus Resource Allocator (BUSRA) )
85 0 0 0 ehci (?)
86 0 0 0 uhci (?)
87 0 0 0 ohci (?)
88 0 0 0 acpi_drv (?)
89 0 0 0 bscv (?)
90 ef84d000 3aac 1 elfexec (exec module for elf 1.129)
91 0 0 0 bscbus (?)
92 0 0 0 pcie_pci (?)
93 ef829000 468c 1 pcihp (PCI nexus hotplug support v1.69)
94 ef82e000 127c 1 hpcsvc (hot-plug controller services v1)
95 0 0 0 pcie (?)
96 ef836000 68ec 1 kssl (Kernel SSL Interface v1.4)
97 0 0 0 tzmon (?)
98 ef83d000 de88 1 ldterm (terminal line discipline)
99 ef84b000 1994 1 ttcompat (alt ioctl calls)
100 0 0 0 asy (?)
101 0 0 0 ptsl (?)
102 0 0 0 ptc (?)
103 0 0 0 usbsprl (?)
104 0 0 0 ipsecesp (?)
105 0 0 0 ipsecah (?)
106 ef86f000 5aac 1 tl (TPI Local Transport (tl) 1.79)
107 ef7aadac 34c 1 rts (PF_ROUTE socket STREAMS driver )
108 ef875000 38ac 1 keysock (PF_KEY socket STREAMS driver)
109 ef879000 52a8 1 spdsock (PF_POLICY socket STREAMS driver)
110 ef8592b0 130c 1 sysmsg (System message redirection (fan)
111 ef7e08fc 69c 1 cn (Console redirection driver 5.64)
112 ef87e000 13c8 1 mm (memory driver 1.100)
113 ef63dd08 244 1 pipe (pipe(2) syscall)
114 ef880000 4818 1 doorfs (doors)
115 ef885000 1790 1 namefs (filesystem for namefs)
116 ef887000 4a70 1 portfs (event ports)
117 ef803218 e0c 1 sysevent (sysevent driver 1.6)
118 0 0 0 intpexec (?)
119 ef88c000 4bec 1 softmac (softmac module)
120 ef891000 399c 1 xnf (Virtual Ethernet driver 1.12)
121 ef7d86e4 108c 1 mac_ether (Ethernet MAC plugin 1.9)
122 0 0 0 net_dacf (?)
123 0 0 0 openeepr (?)
124 ef84c8bc 794 1 log (streams log driver)
125 ef897000 45a8 1 devinfo (DEVINFO Driver 1.79)
126 0 0 0 md (?)
127 ef8c4000 15838 1 rpcmod (RPC syscall)
128 ef8d8000 1a00 1 tlimod (KTLI misc module)
129 ef8de000 2a48 1 lofs (filesystem for lofs)
130 ef7da334 d48 1 fdfs (filesystem for fd)
131 ef8e1000 84ae8 1 zfs (ZFS filesystem version 11)
132 ef95f000 355c 1 idmap (ID Mapping kernel module)
133 ef969000 10ac 1 cryptoadm (Cryptographic Administrative In)
134 0 0 0 dump (?)
135 ef852b00 44c 1 sy (Indirect driver for tty 'sy' 1.)
136 ef82f244 ddc 1 pool (pool driver 1.7)
137 ef775bb8 4a0 1 kmdb (kmdb driver 1.6)
[0]>



Here's the guests installed packages looking from
dom0. I manage the guest from dom0 so I don't have
to install python on the guest.


: alpha[1]#; df -lk /mnt
Filesystem kbytes used avail capacity Mounted on
/dev/lofi/1 983656 156413 768224 17% /mnt
: alpha[1]#; cd /mnt
: alpha[1]#; pkg list
NAME (AUTHORITY) VERSION STATE UFIX
SUNWadmap 0.5.11-0.94 installed ----
SUNWadmlib-sysid 0.5.11-0.94 installed ----
SUNWadmr 0.5.11-0.94 installed ----
SUNWaudd 0.5.11-0.94 installed ----
SUNWbash 3.2.25-0.94 installed ----
SUNWbind 9.3.4.1-0.94 installed ----
SUNWbip 0.5.11-0.94 installed ----
SUNWcakr 0.5.11-0.94 installed ----
SUNWcakrx 0.5.11-0.94 installed ----
SUNWcar 0.5.11-0.94 installed ----
SUNWcarx 0.5.11-0.94 installed ----
SUNWckr 0.5.11-0.94 installed ----
SUNWcnetr 0.5.11-0.94 installed ----
SUNWcs 0.5.11-0.94 installed ----
SUNWcsd 0.5.11-0.94 installed ----
SUNWcsl 0.5.11-0.94 installed ----
SUNWdtrp 0.5.11-0.94 installed ----
SUNWesu 0.5.11-0.94 installed ----
SUNWgccruntime 3.4.3-0.94 installed ----
SUNWgrub 0.95-0.94 installed ----
SUNWgss 0.5.11-0.94 installed ----
SUNWinstall-libs 0.5.11-0.94 installed ----
SUNWipf 0.5.11-0.94 installed ----
SUNWkey 0.5.11-0.94 installed ----
SUNWkrb 0.5.11-0.94 installed ----
SUNWkvm 0.5.11-0.94 installed ----
SUNWlibms 0.5.11-0.94 installed ----
SUNWlibsasl 0.5.11-0.94 installed ----
SUNWlxml 2.6.31-0.94 installed ----
SUNWmd 0.5.11-0.94 installed ----
SUNWmkcd 2.1.1.38-0.94 installed ----
SUNWopenssl 0.9.8-0.94 installed ----
SUNWos86r 0.5.11-0.94 installed ----
SUNWpicl 0.5.11-0.94 installed ----
SUNWpool 0.5.11-0.94 installed ----
SUNWpr 0.5.11-0.94 installed ----
SUNWpsdcr 0.5.11-0.94 installed ----
SUNWpsdir 0.5.11-0.94 installed ----
SUNWrcmdc 0.5.11-0.94 installed ----
SUNWrmodr 0.5.11-0.94 installed ----
SUNWsmapi 0.5.11-0.94 installed ----
SUNWtecla 1.6.0-0.94 installed ----
SUNWtls 0.5.11-0.94 installed ----
SUNWtoo 0.5.11-0.94 installed ----
SUNWuprl 0.5.11-0.94 installed ----
SUNWusb 0.5.11-0.94 installed ----
SUNWusbs 0.5.11-0.94 installed ----
SUNWwbsup 0.5.11-0.94 installed ----
SUNWzfs 0.5.11-0.94 installed ----
SUNWzfskr 0.5.11-0.94 installed ----
SUNWzlib 1.2.3-0.94 installed ----
SUNWzone 0.5.11-0.94 installed ----
: alpha[1]#;
_______________________________________________
xen-discuss mailing list
xen-discuss at opensolaris dot org


mar.ste

Posts: 47
From: IT

Registered: 7/23/08
Re: pkgrm on 2008.05 broken?
Posted: Aug 10, 2008 11:37 AM   in response to: mrj
To: Communities » xen » discuss
  Click to reply to this thread Reply

Good premises, but to properly set-up a ZFS appliance shouldn't we try go for 64bit?

mar.ste

Posts: 47
From: IT

Registered: 7/23/08
Re: pkgrm on 2008.05 broken?
Posted: Aug 30, 2008 12:46 PM   in response to: mrj
To: Communities » xen » discuss
  Click to reply to this thread Reply

This could be another option?

http://opensolaris.org/jive/thread.jspa?messageID=244492

mar.ste

Posts: 47
From: IT

Registered: 7/23/08
Re: pkgrm on 2008.05 broken?
Posted: Sep 1, 2008 6:07 AM   in response to: mrj
To: Communities » xen » discuss
  Click to reply to this thread Reply

Also this can be interesting to look at:
http://docs.sun.com/app/docs/doc/819-4893/gemqx?a=view

mar.ste

Posts: 47
From: IT

Registered: 7/23/08
How small can you make Open Solaris?
Posted: Sep 6, 2008 2:50 PM   in response to: mar.ste
To: Communities » xen » discuss
  Click to reply to this thread Reply

Maybe is also good to remove: this seems to be a VERY INTERESTING 18MB Solaris distribution creation description!

http://solaristhings.blogspot.com/2006/07/how-small-can-you-make-open-solaris.html




Terms of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.
Copyright © 1995-2005 Sun Microsystems, Inc.