Вы находитесь на странице: 1из 22

USE IMPROVE EVANGELIZE

Home N AS R ec ipe
Chase Cheeney
Jeff Cheeney
USE IMPROVE EVANGELIZE

Who we are
● Chase Cheeney
– 11 years old
– 5th grade student
● Jeff Cheeney
– Not 11 years old, Chase's dad
– OpenSolaris Storage Community Manager

2
USE IMPROVE EVANGELIZE

Why We Did This


● Winter Break project to learn about
computers
● We wanted a way to share files between all
our home computers
● Just something to pass the time
● This HomeNAS setup provides much better
protection and expansion

3
USE IMPROVE EVANGELIZE

List of Ingredients
● 1 – Sun W2100Z
– 5 GB Memory
– 1 SCSI HBA
– 1 70GB Internal drive
– 1 140GB Internal drive
● 1 – SCSI Multi-pack
– 6 – 40 GB Drives
● SXDE 1/08
● CIFS Getting Started Guide
http://www.genunix.org/wiki/index.php/Getting_Started_With_the_Solaris_CIFS_Service

4
USE IMPROVE EVANGELIZE

How to make it ...


● Install Hardware
– 20 min
● Install SXDE 1/08
– 95 min
● Configure Solaris
– 40 min
● Tell Windows to find the files
– 15 min

5
USE IMPROVE EVANGELIZE

Install Hardware
● Install extra memory
– ZFS likes to use
memory
● Install SCSI card
– How phred talks to the
MultiPack
● Attach MultiPack
– This is where our files
go
● Power it up!

6
USE IMPROVE EVANGELIZE

Install Hardware
● Install extra memory
– ZFS likes to use
memory
● Install SCSI card
– How phred talks to the
MultiPack
● Attach MultiPack
– This is where our files
go
● Power it up!

7
USE IMPROVE EVANGELIZE

Install Hardware
● Install extra memory
– ZFS likes to use
memory
● Install SCSI card
– How phred talks to the
MultiPack
● Attach MultiPack
– This is where our files
go
● Power it up!

8
USE IMPROVE EVANGELIZE

Install Hardware
● Install extra memory
– ZFS likes to use
memory
● Install SCSI card
– How phred talks to the
MultiPack
● Attach MultiPack
– This is where our files
go
● Power it up!

9
USE IMPROVE EVANGELIZE

Install OpenSolaris
Just follow the screens ...

admin
admin

phred

10
USE IMPROVE EVANGELIZE

Configure Solaris
1.Read Getting Started Guide
http://www.genunix.org/wiki/index.php/Getting_Started_With_the_Solaris_CIFS_Service

2.Create local users

11
USE IMPROVE EVANGELIZE

Configure Solaris - 2
● Create a ZFS pool
– https://phred:6789/zfs

12
USE IMPROVE EVANGELIZE

Configure Solaris - 3
● Create file systems

13
USE IMPROVE EVANGELIZE

Configure Solaris - 4
● Configure CIFS
# svcadm enable -r smb/server
# smbadm join -w CENTRAL
● Share file systems
# zfs set sharesmb=name=Movies mediapool/movies
# zfs set sharesmb=name=Music mediapool/music
# zfs set sharesmb=name=photos mediapool/photos
● Set file system permissions
# chown -R media /mediapool

14
USE IMPROVE EVANGELIZE

Configure Widows
● This is a bit tricky
– it took Dad a while to
figure this out!
● Map a drive to
\\<server>\sharename
● Remember to login
with OpenSolaris
account

15
USE IMPROVE EVANGELIZE

Variations
● Get bigger disks
● Add anti-virus scanning engine
– clamAV -
http://www.genunix.org/wiki/index.php/Implementing_vscan_service_with_ClamAV_on_ZFS

● Terminal Server with SunRay and


VirtualBox
● Use your imagination

16
USE IMPROVE EVANGELIZE

References
●http://opensolaris.org/os/project/cifs-server/
●http://www.genunix.org/wiki/index.php/Getting_Started_With_the_Sola

●http://www.genunix.org/wiki/index.php/Solaris_CIFS_Service_Troubles

●http://blogs.sun.com/dougm/

17
USE IMPROVE EVANGELIZE

Thank you!
Chase Cheeney
Jeff Cheeney
http://blogs.sun.com/icedawn

“open” artwork and icons by chandan:


http://blogs.sun.com/chandan
USE IMPROVE EVANGELIZE

Backup/ Extra Slides


USE IMPROVE EVANGELIZE

Script of OpenSolaris Configuration


Script started on Tue Jan 01 14:19:23 2008
# svcadm enable -r smb/server
svcadm: svc:/milestone/network depends on svc:/network/physical, which has multiple instances.
# smbadm join -w CENTRAL
Successfully joined workgroup 'CENTRAL'
# echo " smbadm join -w CENTRAL
#
# echo "other password required pam_smb_passwd.so.1 nowarn" >> /etc/pam.conf
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
mediapool 144K 165G 29.9K /mediapool
# zfs create mediapool/music
# zfs set sharesmb=on mediapool/music
# zfs create mediapool/photos
# zfs create mediapool/movies
# zfs list -o name,sharesmb
NAME SHARESMB
mediapool on
mediapool/movies on
mediapool/music on
mediapool/photos on
# sharemgr show -vp
default smb=() nfs=()
zfs
zfs/mediapool nfs=() smb=()
mediapool=/mediapool
mediapool_movies=/mediapool/movies smb=()
mediapool_music=/mediapool/music
mediapool_photos=/mediapool/photos smb=()
zfs/mediapool/music smb=()
#
script done on Tue Jan 01 14:27:24 2008

20
USE IMPROVE EVANGELIZE

Screen Shot of ZFS set

21
USE IMPROVE EVANGELIZE

How it Plugs Together

22

Вам также может понравиться