zones: Use a zpool or mount as a raw device?


 
Thread Tools Search this Thread
Operating Systems Solaris zones: Use a zpool or mount as a raw device?
# 1  
Old 05-01-2012
zones: Use a zpool or mount as a raw device?

Hi,

I need to create 4 zones.

I have an array with a RAID5 volume. I have exported 4 LUNS from the array. Now my host see the 4 LUNS as raw devices.

I am partitioning each LUN using format then mounting each slice on the global zone. Then I am using each slice as a file system for my non global zones.

Would it be better to export my RAID5 volume as one LUN. Then add it to a zpool and mkfile for each of my filesystems?

Thanks,

GL
# 2  
Old 05-01-2012
None of those ways is very good in my opinion. When you create one big zpool, you don't have to use "mkfile" to create "filesystem files". Just create four ZFS filesystems with "zfs create". The other way to use zpools is to create separate zpool for each zone. Then it would be possible for you to quickly migrate single zone to different storage array or server.
This User Gave Thanks to bartus11 For This Post:
# 3  
Old 05-01-2012
Great, thanks for the reply.

So I could add my 4 LUNS to 4 separate zpool, then use zfs create to make the zones file systems?
# 4  
Old 05-01-2012
Exactly.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Raw device/multipath details

Hi, How to find the raw device/multipath details of the LUN used by the diskgroups of the database. file system type -- ASM Oracle -- 11.2.0.3.0 OS -- Linux This is RAC database. Regards, Maddy (2 Replies)
Discussion started by: Maddy123
2 Replies

2. Solaris

Zpool device weirdness

Weird duplicate device in one of my nested raidz1s - device is shown as both online and unavailable, with a hot spare showing up as degraded as well. Any thoughts on how I should proceed? root@storage# zpool status tank pool: tank state: DEGRADED status: One or more devices are... (6 Replies)
Discussion started by: DoohanMcGirk
6 Replies

3. UNIX for Dummies Questions & Answers

How to start a raw device?

HI, I want to start Oracle on UNIX machine, now the , it is failing to startup because it cannot identify a raw device. Actually machine was rebooted and now we need to mount the devices, but i just want to know the command/way to mount or rather start/init a raw device. Please let me know. (2 Replies)
Discussion started by: Onkar Banerjee
2 Replies

4. Solaris

How to find used space on RAW device?

Hi, I'm trying to find out how to see used space on RAW device. I tried with prtvtoc -f RAWdevice but for 3 different device I'm getting the same FREE_SIZE which look a bit impossible. root@zg8cscfb1> prtvtoc -f /dev/md/redodg/rdsk/d300 FREE_START=0 FREE_SIZE=20352 FREE_COUNT=1 FREE_PART=... (2 Replies)
Discussion started by: MarioT
2 Replies

5. Solaris

Making Raw Device

Hi, I am using Sun Solaris 10 (Sparc 64 bit), I have a meta device /dev/dsk/emcpower26a mounting on /u01. I want to make this metadeice as raw device. Need solaris command to remove file system and make it as raw device ?. Is there any solaris command to check raw devices ?. Thanks (1 Reply)
Discussion started by: zeeshan047
1 Replies

6. AIX

LVM & Raw device i/o comparison

Please consider this a question about basics&best practices. On AIX 5.3 system, three raw physical volumes are defined from storage. While doing a read with command dd from the raw device, the speed rate is 250Mb/s. Then, it gets complex when I define these three pv's to an lv of type raw. Doing... (4 Replies)
Discussion started by: royalliege
4 Replies

7. Solaris

Import zpool with missing slog device

Hello, I have a problem on my backup server. I lost my system hdd and my separate ZIL device while the system crashs and now I'm in trouble. The old system was running under the least version of osol/dev (snv_134) with zfs v22. After the server crashs I was very optimistic of solving the problems... (2 Replies)
Discussion started by: ron2105
2 Replies

8. Solaris

Increasing Raw device Sun Cluster 3.0

Hi All , I would like to know the procedure for increasing shared volume space in sun cluster . Currently the configuration is like these . Main stripe oradb1/d91 2 1 /dev/did/rdsk/d35s0 1 /dev/did/rdsk/d36s0 =Total 49 Gb oradb1/d94 -p oradb1/d91 -o 88080480 -b 14680064 ==Total 7 GB... (4 Replies)
Discussion started by: sahil_shine
4 Replies

9. UNIX for Advanced & Expert Users

raw device in Linux

Hello group, Is it possible to use partition on a disk as a raw device? I have a LUN on a SAN which I would like to partition and use those partitions as raw device. If it is feasable, how do I bind them to a device? For example, say sdd has 3 partitions on it, sdd1, sdd2 and sdd3. Can I... (1 Reply)
Discussion started by: bfay
1 Replies

10. AIX

Logical volume to raw device

Hy I have several logical volumes that are turned into raw devices used by Informix DB. I would like to add some more. In /dev directory i see logical volumes as block files: lv_name1, lv_name2 ... and i see raw devices defined as character files: rlv_name1, rlv_name2 ... As i see,... (5 Replies)
Discussion started by: veccinho
5 Replies
Login or Register to Ask a Question