20. January 2011

0 Comments

Solaris: Configure SMB Share

Configure SMB shares:
OpenSolaris:

1) Install the service
# pkg install service/file-system/smb

2) Join a domain or workgroup (example is workgroup)
# smbadm join -w

3) Enable the ID mapping service and map users as required
# svcadm enable idmap

To simply map all UNIX and Windows accounts of the same name:
# idmap add -d “winuser:*@*” “unixuser:*”
# idmap list

4) Add the following line to /etc/pam.conf to enable SMB
authentication
other password required pam_smb_passwd.so.1 nowarn

5) Ensure CIFS is enabled for users (it is by default)
# smbadm enable-user

6) In workgroup mode, update passwords for any SMB user after updating
pam.conf
and enabling the user with smbadm
# passwd

7) Create SMB groups and add members as required
# smbadm create -d “Group Description”
# smbadm add-member -m -m
8) Create a share group add add shares to the group
# sharemgr create
# sharemgr add-share -r
-d “Share Description” -s

Commands to view configuration:
# sharemgr list -v < -- list share
groups with enabled protocols
# sharemgr show -v <-- show shares by
share-group
# smbadm show <-- show SMB groups
# smbadm show -m <-- show SMB group members

Continue reading...

18. January 2011

0 Comments

SLOG (ZIL) Explained

Another excellent article on ZFS but on the ZIL functionality:

http://blogs.sun.com/brendan/entry/slog_screenshots

Continue reading...

18. January 2011

0 Comments

ZFS L2ARC Explained

This article has an excellent explanation of how the L2ARC functions and its effect of random reads:

http://blogs.sun.com/brendan/entry/l2arc_screenshots

Continue reading...

10. January 2011

0 Comments

Servethehome.com

Great home server resource. Instructions for DIY JBOD units.

http://www.servethehome.com/

Continue reading...

7. January 2011

0 Comments

Stalwart Defender

Build to come . . .

Continue reading...

5. January 2011

1 Comment

Home Server – Storage

Storage:

Storage can be added to the base node and expanded massively before running out of physical space in the box.

  • Intel SASUC8I PCI-Express x8 SATA / SAS (Serial Attached SCSI) Controller Card
    • I am currently unsure on the future availability of this card but if it continues to be available it is one of the best cost per port HBAs around.  This is not a full featured RAID card and that is 100% intended.  I intend to use software RAID either through Linux or Solaris/FreeBSD to create the shared storage for the host.  More on this later.
  • SUPERMICRO CSE-M35T-1B Black 5 Bay Hot-Swapable SATA HDD Enclosure
    • Five hot swap SATA drives in three 5.25″ drive bays.  Just a note when using this cage with the above mentioned case, some minor modifications will need to be done to the case by removing unneeded guide tabs between each 5.25 slot.  A pair of metal shears will trim them off easily and a bit of sanding to remove the sharp edges is all thats needed.
Continue reading...