This shows you the differences between two versions of the page.
os:solaris:lowlevel [2009/01/16 21:30] 192.168.0.2 |
os:solaris:lowlevel [2009/02/28 15:21] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | //This article contains my personal notes regarding low level configuration of Solaris hosts. | + | //This article contains my personal notes regarding "low level" configuration of Solaris hosts. |
- | Hmm, "low level" is quite unprecise... Well I mean stuff concerning boot loaders, partitioning, mounting partitions, creating file systems... // | + | I mean stuff that help the operating system boot correctly (except hardware and drivers issues to be found in [[os:solaris:hardware|this page]]: boot loaders, partitioning, mounting partitions, creating file systems... // |
====== Boot sectors, boot manager ====== | ====== Boot sectors, boot manager ====== | ||
To restore GRUB (and be able to boot Solaris) when @## someone/something has scratched it, do: | To restore GRUB (and be able to boot Solaris) when @## someone/something has scratched it, do: | ||
- | * boot from the install CD of Solaris | + | * boot from the install CD of Solaris 10 |
* select "6" for a prompt, single user mode | * select "6" for a prompt, single user mode | ||
* restore the boot loader: | * restore the boot loader: | ||
Line 106: | Line 106: | ||
====== ZFS ====== | ====== ZFS ====== | ||
+ | |||
+ | //ZFS is awesome !// | ||
+ | |||
+ | ===== Pools ===== | ||
The good news about ZFS is that it's as great as expected. | The good news about ZFS is that it's as great as expected. | ||
Line 147: | Line 151: | ||
Note before creating the pool, the two slices c0d0s6 & c0d0s7 should be backuped, unmounted and removed from /etc/vsftab. Then, once the pool is created, the original content can be restored. | Note before creating the pool, the two slices c0d0s6 & c0d0s7 should be backuped, unmounted and removed from /etc/vsftab. Then, once the pool is created, the original content can be restored. | ||
Also, mountpoints are acceptable only if they exist: make sure /export/home/axelle exists first. | Also, mountpoints are acceptable only if they exist: make sure /export/home/axelle exists first. | ||
+ | |||
+ | ===== Snapshots ===== | ||
+ | |||
+ | * Setting up snapshots: time-slider-setup | ||
+ | * Mounting a ZFS pool: | ||
+ | <code> | ||
+ | zfs import -r <poolname> | ||
+ | </code> | ||
+ | * Listing snapshots in a given pool: | ||
+ | <code> | ||
+ | zfs list -t snapshot | ||
+ | </code> | ||
+ | * Restoring a given snapshot: | ||
+ | <code> | ||
+ | zfs rollback -rRf <name> | ||
+ | </code> | ||
Line 184: | Line 204: | ||
Plug it in, and then check where it has been mounted using **df -h**. My mobile phone is mounted in /rmdisk/noname . | Plug it in, and then check where it has been mounted using **df -h**. My mobile phone is mounted in /rmdisk/noname . | ||
+ | |||
+ | ====== Mounting a USB IOMEGA drive ====== | ||
+ | |||
+ | Plug it in. It automatically mounts in /media/IOMEGA_HDD on my system. | ||
+ | |||
+ | ====== Zones ====== | ||
+ | |||
+ | My husband's installed a Solaris Zone containing Linux. | ||
+ | |||
+ | TODO | ||
+ | [[http://wikis.sun.com/display/chosug/Installing+a+Linux+Zone|Linux Zone]] | ||
+ | |||
+ | {{tag>solaris opensolaris usb iomega card linux zone rmdisk grub boot sector loader installgrub installboot slices device disk partition format print cylinder verify zfs pool raid mirror quota compression snapshot rollback time-slider-setup mount UFS FAT pcfs ntfs pfexec lofiadm loopback filesystem}} | ||
+ | |||
+ |