|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| BSD BSD, sometimes called Berkeley Unix, is a Unix operating system developed by the Computer Systems Research Group of the UC Berkeley. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Unable to create zfs zpool in FreeBSD 8.2: no such pool or dataset
I am trying to test simple zfs functionality on a FreeBSD 8.2 VM. When I try to run a 'zpool create' I receive the following error: Code:
[root@vm-fbsd82-64 /]# zpool create zfspool /dev/da0s1a cannot create 'zfspool': no such pool or dataset [root@vm-fbsd82-64 /]# zpool create zfspool /dev/da0 cannot create 'zfspool': no such pool or dataset I was not sure what to put for the device, so I tried both da0s1a and da0, due to this output: Code:
[root@vm-fbsd82-64 /]# egrep 'da[0-9]' /var/run/dmesg.boot da0 at mpt0 bus 0 scbus0 target 0 lun 0 da0: <VMware Virtual disk 1.0> Fixed Direct Access SCSI-2 device da0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit) da0: Command Queueing enabled da0: 204800MB (419430400 512 byte sectors: 255H 63S/T 26108C) Trying to mount root from ufs:/dev/da0s1a da0 at mpt0 bus 0 scbus0 target 0 lun 0 da0: <VMware Virtual disk 1.0> Fixed Direct Access SCSI-2 device da0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit) da0: Command Queueing enabled da0: 204800MB (419430400 512 byte sectors: 255H 63S/T 26108C) Trying to mount root from ufs:/dev/da0s1a da0 at mpt0 bus 0 scbus0 target 0 lun 0 da0: <VMware Virtual disk 1.0> Fixed Direct Access SCSI-2 device da0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit) da0: Command Queueing enabled da0: 204800MB (419430400 512 byte sectors: 255H 63S/T 26108C) Trying to mount root from ufs:/dev/da0s1a Just wondering if I am missing a step or doing something wrong. edit: I'm starting to wonder if it's because I only have 1 'disk' in this VM, and perhaps the entire disk has been formatted to ufs and so I can't create a zpool on that disk? Do I need to add another disk in VMware? Also, does anyone know what filesystems are natively supported in FBSD 6.x and 8.x? I believe 6.x supports ufs and 8.x supports ufs and zfs, but I am not positive. Thank you for any help Last edited by bstring; 09-13-2012 at 02:27 PM.. |
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
I found my problem: I only had one disk, and I guess it was entirely allocated to my existing ufs filesystem. Once I added a new disk, I was able to specify it as the device and I was able to successfully create a zpool/zfs filesystem: Code:
[root@vm-fbsd82-64 ~]# egrep 'da[0-9]' /var/run/dmesg.boot da0 at mpt0 bus 0 scbus0 target 0 lun 0 da0: <VMware Virtual disk 1.0> Fixed Direct Access SCSI-2 device da1 at mpt0 bus 0 scbus0 target 1 lun 0 da1: <VMware Virtual disk 1.0> Fixed Direct Access SCSI-2 device Code:
[root@vm-fbsd82-64 ~]# zpool create zfspool /dev/da1 [root@vm-fbsd82-64 ~]# zfs create zfspool/test-zfs [root@vm-fbsd82-64 ~]# df Filesystem 1K-blocks Used Avail Capacity Mounted on zfspool 10257328 21 10257307 0% /zfspool zfspool/test-zfs 10257328 21 10257307 0% /zfspool/test-zfs Quote:
|
|
#4
|
||||
|
||||
|
Quote:
The Z File System |
| 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 |
| ZFS - Dataset / pool name are the same...cannot destroy | eladgrs | Solaris | 8 | 06-18-2012 03:31 PM |
| flarecreate for zfs root dataset and ignore multiple dataset | uxravi | Solaris | 0 | 09-13-2011 01:49 PM |
| How to create metadb with zpool in Solaris 11 | incredible | Solaris | 10 | 09-08-2011 02:38 PM |
| zpool create - long time creation | bieszczaders | Solaris | 1 | 08-17-2011 04:23 AM |
| unable to import zfs pool | fugitive | Solaris | 7 | 06-25-2009 06:44 PM |
|
|