So basically what your saying is that I cannot create a partition and then assign that partition to a zpool?
I know I can create filesystems in my zpool and assign SMB or NFS to it, but that is easy. I want to create partitions and then assign respective partitions to different zpools, then create filesystems.
---------- Post updated at 06:12 PM ---------- Previous update was at 05:43 PM ----------
Ok, well after some testing it seems like partitions cannot be used to create zpools, only disk. So I guess I found my answer. Thank you all for helping
Last edited by DukeNuke2; 06-07-2013 at 07:58 PM..
So basically what your saying is that I cannot create a partition and then assign that partition to a zpool?
That's not what I wrote. You certainly can create partitions and have zpools using then as underlying devices if you think that's the best solution for you.
Quote:
I know I can create filesystems in my zpool and assign SMB or NFS to it, but that is easy.
What's wrong with "easy" ??
Quote:
I want to create partitions and then assign respective partitions to different zpools, then create filesystems.
You can do that, although that would be suboptimal (less flexibility, less performance).
Quote:
Ok, well after some testing it seems like partitions cannot be used to create zpools, only disk.
This is incorrect.
You can create zpools from whole disks, primary and extended partitions, slices and plain files.
Easy is not what I want, that is what's wrong with it.
Well , it maybe I am incorrect, even though I cant find anywhere online of how to create zpools from different partitions of ONE disk.If this is true you seem to know the answer but not willing to share ,so does anyone know how to do this?
- Using format --> fdisk, destroy the EFI partition, then create, assuming you want a
regular MBR layout, a Solaris 2 MBR partition, and make sure it is active.
- Create whatever partition you want using format --> partition. Label the disk to save the
new VTOC.
- Then simply create a zpool specifying the slice you want to use. For example, if you
are using a second IDE disk and you wish to use slice 0, you would specify c0d1s0.
I think that you confuse partition and slice. Partition is for DOS system where we have primary and extended partition and so on.
Now when you destroy your zpool you have that kind of partition but you must to divide it to slices.
You can see the current slice structure by using
I'm not sure suffix s2, so test it with or without.
To create new slices you must use subcommand partition from format.
Procedure is as follows:
1. execute format
2. select your disk c8d1
3. select partition or abbreviation p
4. select print or p to see how is now disk divided
5. select 0 and change parameters of slice 0
- name
- mode
- start sector
- length
5.a. Repeat this steps with next slices.
6. after you create all new slices select label or l to write new label to disk.
7.after all nescessary confirmation exit from format with double q.
Now you should have some slices on your disk.
Use prtvtoc to see the difference between previous and current state.
You can use that slices to create zpools.
For example:
Last edited by GP81; 06-08-2013 at 04:33 AM..
Reason: icode tags
But surely, unless something has changed in Solaris 11 x86, you can't set up 'slices' on a disk with a EFI label. cbtshare has posted a display of the disk label showing it as EFI which is what it would be having been in a zfs pool. Doesn't the label need to be changed to SMI before you can write a sliced disk table?
Also, my understanding is that EFI labels and SMI labels put their partition tables in different locations (starting disk sectors) so utilities for one of the labels may not work at all on a disk with the other label (often displaying 'unknown')
I am not certain that I am right on this hence invite comments from everyone on this thread.
I kinda did it a bit different , where I used the partiton to create a zpool.In format, fdisk I created 2 partitions on my disk( my disk c8d1, the partitions would then become p0 and p1)
Hello all,
Our Solaris 9? Sun Fire 480R backup server(in another city) is throwing disk errors such as these repeatedly.
WARNING: vxvm:vxio: Subdisk rootdisk-02 block 24037056: Uncorrectable read error
WARNING: vxvm:vxio: Subdisk rootdisk-02 block 7767072: Uncorrectable write error
... (18 Replies)
I have a solaris 10 system configured using NetApp as its storage, and the file systems are already configured as you can see from the example below:
root@moneta # df -h
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 9.8G 513M 9.3G 6% /... (4 Replies)
I have a solaris 10 system configured using NetApp as its storage, and the file systems are already configured as you can see from the example below:
root@moneta # df -h
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 9.8G 513M 9.3G 6% /
... (0 Replies)
Hi all,
I guess most of you have seen this error message while installing Solaris 10 on an x86 platform. I got the error message while installing from DVD ISO on my home VMWare ESXi server.
It took me a long time to figure the exact issue and a subsequent solution. the solution is very... (1 Reply)
Need a procedure document to do "root disk mirroring in solaris volume manager for solaris 10". I hope some one will help me asap. I need to do it production environment.
Let me know if you need any deatils on this.
Thanks,
Rama (1 Reply)
We have a filesystem which contains 8 hard disks but i am facing disk I/O issue becuase data is not spreading across all the disks.Is there any way i can check how data is spreading and any parameter we need to change to spread ata across all disks.
OS--AIX 5.3 (3 Replies)
hi guys,
I've got a strange issue, may be one of you has experienced this.
SunOS 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Fire-V440
everything is mirrored.
My issue is that I have a umpty directory but seems to have data on. Let me show you
# df -h /data
Filesystem size used... (10 Replies)
Hello,
I am trying to do mirror in solaris 9. I have total 0-7 disks
4 5 6 7
0 1 2 3
Drive 0 and Drive 4 = Boot Drives
Need to Mirror following drives.
Drive 1 and Drive 5 = Need to mirror
Drive 1 was mounted on: /prod1, /prod2, /prod3, /prod4, /prod5.
Then i... (3 Replies)
Hi, I have a AIX 4.3 box here with problems cause of a disk in below VG.
volume group: workvg
lspv
hdisk4 000166789869ab2d workvg
hdisk5 000166789869b96b workvg
now hdisk4 disk has failed and cause the quorum was set, workvg became varied off.
I have to replace the... (2 Replies)
Hello!
I recently inherited system administration duties for a SUN v880 box. The system has 6 physical hard disks.. In doing some basic maintenance, I found they're configured for mirroring. I ran the metastat and metadb commands, and many of the mirrors are showing they are in need of... (5 Replies)