02-07-2009
zfs and flash archives
i had a situation where an app i was running just didn't have enough resources on a proliant dl365 (running sol10x86). so i ended up building out a dl385g2. the dl365 had zfs root file system which was managing the whole disk (smart array taking the raid 1+0). anyway, i figured i could migrate the whole os via flash archive (obviously device tree would be rebuilt). so i created my flar and mounted it for nfs share. brought the dl385g2 up and was able to get the flar without issue. however, i ran into a situation where the flar was showing/forcing the filesystems to be ufs and NOT zfs. i couldn't figure out how to get the root fs to be zfs. did i miss something when i attempted to install from flash archive? i looked several times and did not see any options like in a standard install where you can specify UFS or ZFS for root fs.
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Ladies and Gentlemen:
I am short on time and need to get up to speed fast on the use of flash archives. I am very familiar with Jumpstart and have used it successfully for the past 5 years. The current project I am working on requires optimization of time and speed when deploying systems which is... (0 Replies)
Discussion started by: rambo15
0 Replies
2. Solaris
Ladies and Gentlemen:
I am short on time and need to get up to speed fast on the use of flash archives. I am very familiar with Jumpstart and have used it successfully for the past 5 years. The current project I am working on requires optimization of time and speed when deploying systems which is... (4 Replies)
Discussion started by: rambo15
4 Replies
3. UNIX for Dummies Questions & Answers
HI, are you supposed to run flarcreate in multi user mode? or should you do it in single user? (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
4. Solaris
I have created a bootable DVD for X86 using a flash archive, the problem is that I have to specify the location at the beginning of the install.
I have edited the any_machine profile under ./jumpstart_sample to contain the following
install_type flash_install
archive_location ... (4 Replies)
Discussion started by: eeisken
4 Replies
5. Solaris
Has ZFS root is being supported in flash archive in the recently released update 7 .. i read a specific patch has been released for this , can anyone let me know that , and have anybody tested it if its working fine or not ? (1 Reply)
Discussion started by: fugitive
1 Replies
6. Solaris
Hi all
Okay, I know how to make flash archives, and I even know how to split them and extract files. But, Ive never used one to restore an OS drive and I might have to.
Ive search around google, and seen different ideas / ways, but havent really come to a definate answer. So, lets... (3 Replies)
Discussion started by: sbk1972
3 Replies
7. Solaris
I have created a flash archive from a Ldom on T5220 with zfs root solaris 10_u8. But after creation of flar the info shows the
content_architectures=sun4c,sun4d,sun4m,sun4u,sun4us,sun4s
but not sun4v due to which i 'm unable to install this flash archive on another Ldom on the same host. Is... (0 Replies)
Discussion started by: fugitive
0 Replies
8. Solaris
Hi,
I'm trying to get a Flash Archive Jumpstart Running with ZFS Filesystem. For Testing I set up a VirtualBox VM with 2 Disks attached. On the first disk I have the ZFS root pool, on the second Disk I have some more ZFS Pools which I use for 2 additional Zones I've set up. Restoring works fine if... (1 Reply)
Discussion started by: NoelzeN
1 Replies
LEARN ABOUT FREEBSD
zfsloader
ZFSLOADER(8) BSD System Manager's Manual ZFSLOADER(8)
NAME
zfsloader -- kernel bootstrapping final stage
DESCRIPTION
zfsloader is an extended variant of loader(8) with added support for booting from ZFS. This document describes only differences from
loader(8).
ZFS FEATURES
zfsloader supports the following format for specifying ZFS filesystems which can be used wherever loader(8) refers to a device specification:
zfs:pool/filesystem:
where pool/filesystem is a ZFS filesystem name as described in zfs(8).
If /etc/fstab does not have an entry for the root filesystem and vfs.root.mountfrom is not set, but currdev refers to a ZFS filesystem, then
zfsloader will instruct kernel to use that filesystem as the root filesystem.
ZFS COMMAND EXTENSIONS
lsdev [-v]
Lists ZFS pools in addition to disks and partitions. Adding -v shows more ZFS pool details in a format that resembles zpool status
output.
lszfs filesystem
A ZFS extended command that can be used to explore the ZFS filesystem hierarchy in a pool. Lists the immediate children of the
filesystem. The filesystem hierarchy is rooted at a filesystem with the same name as the pool.
FILES
/boot/zfsloader zfsloader itself.
EXAMPLES
Set the default device used for loading a kernel from a ZFS filesystem:
set currdev=zfs:tank/ROOT/knowngood:
SEE ALSO
gptzfsboot(8), loader(8), zfs(8), zfsboot(8), zfsloader(8), zpool(8)
HISTORY
The zfsloader first appeared in FreeBSD 7.3.
AUTHORS
This manual page was written by Andriy Gapon <avg@FreeBSD.org>.
BSD
September 15, 2014 BSD