Can I save pool ? [SAVED]
Posted: 07 Jan 2015 11:34
I'm work on TheBrig and begin attach zfs option for it
I create zfs on files for do experiment safely
I add postinit script for keep experimental pool alive after reboot
Then I managed pool over webgui - all worked , jail's user can manage specified datasets, and user can access to files
But unfortunately I execute command under main (broke root, NOT EXECUTE!!)
I successfully restored my test machine, but without my tested pool - when I try to connect it, I lost my NAS.
May I have chance repair mount point for tested pool, or I need delete files and create new ?
( I ask it because I must prevent this faultly command input on TheBrig
)
I create zfs on files for do experiment safely
Code: Select all
#!/bin/sh
WORKDIR=`pwd`
for i in 1 2 3 4
do
dd if=/dev/zero of=${WORKDIR}/file${i} bs=100M count=4
done
zpool create tank ${WORKDIR}/file1 ${WORKDIR}/file2 ${WORKDIR}/file3 ${WORKDIR}/file4
zpool import -d ${WORKDIR}Code: Select all
zpool import -d /mnt/disk/afiles tankBut unfortunately I execute command under main (broke root, NOT EXECUTE!!)
Code: Select all
zfs set mountpoint=/ tank/jail/jail1May I have chance repair mount point for tested pool, or I need delete files and create new ?
( I ask it because I must prevent this faultly command input on TheBrig