1527e
![]() |
|
|
|
|
|||||||
| General General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
I've got FreeBSD 7.2-Stable. I Have 24 drives (/dev/da0- /dev/da23) which I want to add to zfs pool. When I run command # zpool create tank raidz da0 da1 da2 da3 da4 da5 da6 da7I get an error: Code:
cannot create 'tank': invalid argument for this pool operation When I use -n option to create, I get expected result. What am I doing wrong? # zpool create -n tank raidz da0 da1 da2 da3 da4 da5 da6 da7would create 'tank' with the following layout: Code:
tank
raidz1
da0
da1
da2
da3
da4
da5
da6
da7
Last edited by danger@; July 20th, 2009 at 22:23. Reason: use proper tags |
|
#2
|
||||
|
||||
|
Hm,
Are you sure you want `da`? da's are direct access drives, like usb sticks and such. Ata drives are named ad |
|
#3
|
|||
|
|||
|
Yes, I'm pretty sure:
Code:
da0 at twa0 bus 0 target 0 lun 0 da1 at twa0 bus 0 target 1 lun 0 da2 at twa0 bus 0 target 2 lun 0 da3 at twa0 bus 0 target 3 lun 0 da4 at twa0 bus 0 target 4 lun 0 da5 at twa0 bus 0 target 5 lun 0 da6 at twa0 bus 0 target 6 lun 0 da7 at twa0 bus 0 target 7 lun 0 da8 at twa0 bus 0 target 8 lun 0 da9 at twa0 bus 0 target 9 lun 0 da10 at twa0 bus 0 target 10 lun 0 da11 at twa0 bus 0 target 11 lun 0 da12 at twa0 bus 0 target 12 lun 0 da13 at twa0 bus 0 target 13 lun 0 da14 at twa0 bus 0 target 14 lun 0 da15 at twa0 bus 0 target 15 lun 0 da16 at twa0 bus 0 target 16 lun 0 da17 at twa0 bus 0 target 17 lun 0 da18 at twa0 bus 0 target 18 lun 0 da19 at twa0 bus 0 target 19 lun 0 da20 at twa0 bus 0 target 20 lun 0 da21 at twa0 bus 0 target 21 lun 0 da22 at twa0 bus 0 target 22 lun 0 da23 at twa0 bus 0 target 23 lun 0 |
|
#4
|
|||
|
|||
|
forgot to mention, i have 7.2-stable on amd64.
|
|
#5
|
||||
|
||||
|
And if you try with a name other than tank, what happens? Does it give the same error?
Are any of the drives listed currently in use anywhere in the system? |
|
#6
|
|||
|
|||
|
Quote:
No, drives are not used by the system. |
|
#7
|
||||
|
||||
|
da* devices may be also SCSI drives.
__________________
Looking for administrator? http://www.syscare.sk |
|
#8
|
||||
|
||||
|
Quote:
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki Before you post: How to ask questions the smart way If you must know .. So, what does an Adminstrator/Moderator do? ---> Do not PM me with FreeBSD questions. I do not work here. <--- |
|
#9
|
||||
|
||||
|
They actualy can be used -- you already have a RAID controller on your system - twa(4). I am not sure whether it is allowed to acces the drives directly through /dev/da* in this case...
__________________
Looking for administrator? http://www.syscare.sk |
|
#10
|
||||
|
||||
|
@danger@: If the drives are configured as Single Drive (as opposed to JBOD, Spare, or part of a RAID array) via the 3Ware controller, then they will appear to the OS as individual drives. This is how we configure our 3Ware cards in our ZFS storage pools.
Doing things this way allows for the use of the management features of the RAID controller, as well as the onboard cache of the controller, and the controller does better queuing and what not. If the drives are configured as part of a hardware RAID array, then they will appear as twadX where X is the "drive" (actually unit/array) number. Just for clarification. ![]() @vasechka: Do you get the same error if you try to create a mirror vdev instead of a raidz vdev? For example: # zpool create tank mirror da4 da5Or, if you use only some of the disks? For example: # zpool create tank raidz da6 da5 da4Are there any messages in /var/log/messages or dmesg output? Also, what's the output of zpool status or zpool list? Just to be sure that "tank" isn't already created or similar. Last edited by phoenix; July 21st, 2009 at 06:25. |
|
#11
|
|||
|
|||
|
@phoenix:
You're right - I'm using single disk on 3ware 9650SE controller. Code:
# zpool create tank mirror da4 da5 cannot create 'tank': invalid argument for this pool operation and here is what makes me wonder, after I ran the command: Code:
# zpool status internal error: out of memory # zpool list internal error: out of memory I have an amd64 - so didn't do any fine tuning for the zfs, as recommended and have 4Gig memory in the system. I'm rebuilding world again, just to see if that will bring me somewhere, as I might have older z* utilities from 7.2-RELEASE... Last edited by DutchDaemon; July 21st, 2009 at 10:31. Reason: [code] added |
|
#12
|
|||
|
|||
|
stupid me. for some reason, I did makeworld, but never managed to install it - that' the reason why I was getting those strange error messages.
Thanks for help. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Create tbz package | wirasto | Porting New Software | 7 | September 9th, 2010 10:07 |
| IP address pool | guixingyi | Firewalls | 1 | September 14th, 2009 12:35 |
| cant create slice | kolbycrouch | Installing & Upgrading | 5 | May 21st, 2009 14:20 |
| Adding a new raidz to zpool does not give zfs create more space | audunfr | Installing & Upgrading | 0 | April 19th, 2009 12:39 |
| Create Poll feature | graudeejs | Feedback | 11 | January 21st, 2009 23:32 |