DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 26th December 2011
ananix ananix is offline
New User
 
Join Date: Dec 2011
Posts: 1
Default disk mgt and zfs

Hello guys, i have just taken over my first freeBSD installations and i have been asked to free a disk array. For some reason its starting to become a hassle so im jumping the short fence now asking you guys for some help as i have already wasted hours with deadends and system failures.

I have copied the content to my new disk and would like to remount the old one to data_old/ so i can mount the new one under /data/.

The old disk is managed with zfs the new one with unix, fstab.

To bring the changes about i would add the new disk to fstab, bring the system to single user mode export and import the zpool data to data_old, mount -a and bring the system online again.

(One time mount -a rebooted the machine!)

This did not work sine zfs is not startet in single user mode leaving me with to questions,

how do i go to single user mode without reboot?
how do make the system start zfs in single user mode?

How would you guys come about the task in general?
I see some posibilities in changing the zfs start up mount mapping instead of the zpool rename and let the running zfs automount config fix the rest, but cant really figure out how and nothing seems to be working while zfs partitions are in use anyways.

thanks in advange and sorry for the many things i could proberly read up on and will but for now i really just want this job done :/
Reply With Quote
  #2   (View Single Post)  
Old 26th December 2011
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,128
Default

Quote:
how do i go to single user mode without reboot?
From init(8):
Code:
     The init utility will terminate multi-user operations and resume single-
     user mode if sent a terminate (TERM) signal, for example, ``kill -TERM
     1''.  If there are processes outstanding that are deadlocked (because of
     hardware or software failure), init will not wait for them all to die
     (which might take forever), but will time out after 30 seconds and print
     a warning message.
]
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
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
Hard disk reliability ephemera General Hardware 32 20th April 2010 10:17 AM
Can I mount AIX disk in NetBSD? sami NetBSD General 2 24th June 2009 05:08 PM
Disk > 100% Weaseal FreeBSD General 3 11th February 2009 05:50 PM
Disk geometry for Seagate disk phreud FreeBSD Installation and Upgrading 5 8th November 2008 10:51 PM
Disk I/O Throughput m4rc OpenBSD General 5 10th July 2008 02:50 AM


All times are GMT. The time now is 01:12 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick