Solved

Zfs nexenta: howto create log/cache

Posted on 2013-01-01
6
914 Views
Last Modified: 2013-01-02
Please advise howto create cache/logdeive. When I try to create a mirrored volume for log, it says that I have to create a volume first ...?

The error exactly:

Cannot create volume only with log or spare disks: Please add disks to pool This configuration will be used to create volume.

log
0
Comment
Question by:janhoedt
  • 3
  • 3
6 Comments
 
LVL 120
ID: 38735069
did you install Napp-it?

do you have spare disks, to add as log (ZIL) or cache (ARC) ?

to add cache (arc)

zpool add tank cache c4t2d0
zpool add tank cache c4t3d0

where tank is the pool name, and c4t2d0 and c4t3d0 are disks, cache cannot be mirrored.

to add log (zil)

zpool add newpool log mirror c0t6d0 c0t7d0

where newpool is the pool, and c0t6d0 c0t7d0 are disks
0
 

Author Comment

by:janhoedt
ID: 38735972
Thanks, but I really like the gui to configure, helps me to understand zfs concepts. Does screenshot above help to clarify my problem?
It says to add disks to pool, but when I add disks to pool, I don t see option to make log or cache disks.
0
 
LVL 120
ID: 38736091
you have to add logs and cache to a pool.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

Author Comment

by:janhoedt
ID: 38736133
Both to same pool?
0
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 38736140
yes, both ZIL (log) and ARC (cache) are allocated to a pool.

if you open a console, using Nexenta GUI and type zpool status, you will see the status and disks added to your pool.

did you not add log and cache disks at creation?
0
 

Author Comment

by:janhoedt
ID: 38736270
Ok, found it: you need to "grow" the existing volume (for me the zraid on SATA disks), then you can choose disks for log and cache.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
CPU issues on VMHOST and child VMs 10 87
cannot remove vmnic 7 50
Vyos VLANs 14 56
Migrating hosts to new vCenter server 5 48
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question