|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Ubuntu ZFS split disk
Hello all,
At the moment i'm building a home made nas/media server running ubuntu. After reading some articles about ZFS I decided to use it (at first on a virtual machine). the machine is gonna be a AMD fusion with two 1TB disks and one 64GB ssd for the OS This is what im trying to accomplish: I've got a bunch of data that I realy like to hold on to (so mirroring would be nice) and I got a bunch of movies (not realy important) So to get the max out of the two disks I want to split them both and and mirror the first partition of both disks and stripe the second pratition of both disks (so i get 1,5TB of usable data) What I did: added a partition table to both disks and created two ext2 partitions on both disks (couldn't make a zfs partition or I don't know how to in linux) then i created a mirrored zfs pool of the first partitions and a striped zfs pool of the second partitions it all seems to work great, but my question is is this the best way to do it (my doubt is the pools using the two ext partitions) thanks in advance |
| Sponsored Links | ||
|
|
#2
|
||||
|
||||
|
It will work. ZFS will reformat those partitions anyway, so they are not "ext" anymore.
|
| The Following User Says Thank You to bartus11 For This Useful Post: | ||
StrikeByte (07-11-2012) | ||
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Cool thx for the fast reply
|
|
#4
|
|||
|
|||
|
Instead of installing the OS on the SSD, you might have better installing the former on a dedicated partition (or on ZFS if supported) and using the SSD as ZFS L2ARC cache.
|
| The Following 2 Users Say Thank You to jlliagre For This Useful Post: | ||
Scrutinizer (07-12-2012), StrikeByte (07-12-2012) | ||
| Sponsored Links | |
|
|
#5
|
|||
|
|||
|
Thats not a bad idea, but i want my os on a dedicaded disk and load it into ram and make the disk read only (so the os wont get damaged by normal use, it's somthing like the windows embedded enhanced writer filter but then for linux).
Is it possible to split the ssd aswell and use only half the disk for chache, and can the cache be used for multiple pools? What's the minimum size for the cache to be usefull? |
| Sponsored Links | |
|
|
#6
|
||||
|
||||
|
Of course it could be split into multiple partitions (it is just a disk from the system's view side after all). What you have to keep in mind is that L2ARC is a device dedicated for particular pool, so if you will have two zpools and you want to have cache device in both of them, then you have to split that SSD disk at least into two pieces (three if you also want system there, but I think it is quite a waste for that disk, especially if you will later load the system into RAM).
|
| Sponsored Links | |
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| awk to split one field and print the last two fields within the split part. | yifangt | Shell Programming and Scripting | 5 | 04-17-2012 04:41 AM |
| How do I mount a new disk on ubuntu linux? | NelsonC | UNIX for Dummies Questions & Answers | 5 | 08-13-2011 08:20 PM |
| XP and Linux (Ubuntu) on same disk, Can I install Ubuntu on not-yet partitioned portion of disk? | C.Weidemann | Ubuntu | 7 | 10-29-2009 10:18 AM |
| How to 'split' mirror disk for OS upgrade purpose | KhawHL | UNIX for Dummies Questions & Answers | 2 | 07-22-2008 02:21 PM |
|
|