0% found this document useful (0 votes)
382 views

Homenasrecipe: Chase Cheeney Jeff Cheeney

Chase and his father Jeff created a home network attached storage (NAS) device using an old Sun server and several hard drives. They installed OpenSolaris on the server, configured ZFS to pool the drives, and set up file sharing using SMB/CIFS so their Windows computers could access files over the home network. Their goals were to share files between devices, learn about computers over winter break, and create a more robust storage solution than separate hard drives.

Uploaded by

Jeff
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
382 views

Homenasrecipe: Chase Cheeney Jeff Cheeney

Chase and his father Jeff created a home network attached storage (NAS) device using an old Sun server and several hard drives. They installed OpenSolaris on the server, configured ZFS to pool the drives, and set up file sharing using SMB/CIFS so their Windows computers could access files over the home network. Their goals were to share files between devices, learn about computers over winter break, and create a more robust storage solution than separate hard drives.

Uploaded by

Jeff
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 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

You might also like