919c can you remove a ZFS log device? - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > General

General General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere.

Reply
 
Thread Tools Display Modes
  #1  
Old December 23rd, 2009, 22:14
wonslung wonslung is offline
Member
 
Join Date: May 2009
Posts: 826
Thanks: 32
Thanked 15 Times in 14 Posts
Default can you remove a ZFS log device?

I am wondering if there is a safe way to remove a ZFS log device?

When i first created this pool i added a log device but in retrospect it wasn't a great idea and was probably a waste of the hard drive. Is there a safe way to remove it? I can't seem to find any good info on the subject.
Reply With Quote
  #2  
Old December 24th, 2009, 00:04
phoenix's Avatar
phoenix phoenix is offline
Moderator
 
Join Date: Nov 2008
Location: Kamloops, BC, Canada
Posts: 3,178
Thanks: 43
Thanked 715 Times in 587 Posts
Default

From what I've read, the only way to remove a log device from a ZFSv13 pool is to recreate the pool without it. And if the log device ever gets corrupted, the pool becomes inaccessible, which is why log devices should always be mirror vdevs.

There's work in OpenSolaris to enable removal of log devices from a pool (reverting to the in-pool log). But I don't think it's been released yet.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
zfs external log dbi General 0 September 26th, 2009 14:39
is it possible to remove a SLOG device from ZFS on 7.2-current amd64 wonslung General 0 August 22nd, 2009 16:06
Remove iscsi device eztiger Web & Network Services 3 May 27th, 2009 14:36
very good and nice way for read log file and search in log file mfaridi General 8 April 22nd, 2009 22:21
[Solved] syslogd logs to all.log, but not to my.log fredBSD Web & Network Services 1 March 5th, 2009 06:34


All times are GMT +1. The time now is 12:11.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0