Difference between pages "Talk:SAN Box used via iSCSI" and "Emerge"

* Explicit device-thresholds seems to be useless, Solaris powers down everything it can. Should try an explicit device-thresholds with system-threshold always-on.

+

== Getting started with emerge ==

−

* Even with tpg defined, a target still listens on all NICs, but the port seems to taken into account....... Bug?

+

Emerge is the front-end for funtoo's portage package manager. With emerge it is easy to install, update or remove packages.

−

* Why format does protest with:

+

−

<pre>

+

−

WARNING - This disk may be in use by an application that has

+

−

modified the fdisk table. Ensure that this disk is

+

−

not currently in use before proceeding to use fdisk

+

−

</pre>

+

−

Thus requiring to manually create a partition with format -> fdisk before being partitioned? ZFS/COMSTAR bug? It does not seems to be a thin provisioning issue at first glance.

+

=== Update package database ===

−

* What about 4k sector alignment required by new hard-drives? iSCSI is transparent for that?

+

'''Sync local package database. This will update your local Portage tree with the latest Funtoo ebuilds.'''

+

<console>

+

###i## emerge --sync

+

</console>

+

=== Search packages ===

+

'''Search packages by name.'''

+

<console>

+

###i## emerge -s firefox

+

###i## emerge --search firefox

+

</console>

−

----

+

'''Search packages by description.'''

+

<console>

+

###i## emerge -S web browser

+

###i## emerge --searchdesc web browser

+

</console>

+

=== Install packages ===

+

'''Install package.'''

+

<console>

+

###i## emerge firefox

+

</console>

−

* device-thresholds: Solaris respects power savings requirements so yes if it can it will, my goald here was an attempt to control the delays. Some green drives ignore them.

+

'''Install multiple packages.'''

−

* tpg: same here, the target listen for connections on all addresses... It sounds like a bug! Functional descriptions are not the same than the seen behaviours.

+

<console>

−

* I did't use fdisk I give the whole disk to eat to ZFS and it deals nicely with it (a GPT table is created automatically).

+

###i## emerge firefox thunderbird

−

* 4k sectors: Solaris seems to handle 4k sectors (at the condition the drive does not lie on the physical sector size). I would say that iSCSI should pay attention ("direct" access), impacts on an access through a zvol on a pool is still a very good question.

+

</console>

−

--404

+

'''Install package. Ask for confirmation before performing any changes. Show verbose output.'''

+

<console>

+

###i## emerge -av firefox

+

###i## emerge --ask firefox

+

</console>

+

+

=== Remove packages ===

+

'''Remove package.'''

+

<console>

+

###i## emerge -C firefox

+

###i## emerge --unmerge firefox

+

</console>

+

+

'''Remove package. Ask for confirmation before performing any changes.'''

+

<console>

+

###i## emerge -aC firefox

+

</console>

+

+

'''Remove orphaned packages. Ask for confirmation before performing any changes.'''

+

<console>

+

###i## emerge -a --depclean

+

</console>

+

+

=== Update packages ===

+

'''Update all packages.'''

+

<console>

+

###i## emerge -uDN @world

+

</console>

+

+

'''Update all packages. Ask for confirmation before performing any changes. Show verbose output.'''

+

<console>

+

###i## emerge -uavDN @world

+

</console>

+

+

== Emerge options ==

+

+

; --sync

+

: Updates the portage tree that is located in /usr/portage by default.

+

+

; --search -s

+

: Searches for matches of the supplied string in the portage tree.

+

+

; --searchdesc -S

+

: Matches the search string against the description field as well as the package name.

+

+

; --ask -a

+

: Ask for confirmation before performing any changes.

+

+

; --pretend -p

+

: Instead of actually performing the merge, simply display what *would* have been installed if --pretend weren't used.

+

+

; --unmerge -C

+

: Removes all matching packages.

+

+

; --update -u

+

: Updates packages to the best version available, which may not always be the highest version number due to masking for testing and development.

+

+

; --deep [DEPTH] -D

+

: force emerge to consider the entire dependency tree of packages, instead of checking only the immediate dependencies of the packages.

+

+

; --newuse -N

+

: Tells emerge to include installed packages where USE flags have changed since compilation.

+

+

; --depclean -c

+

: Remove orphaned packages. Cleans the system by removing packages that are not associated with explicitly merged packages.