Sponsored Content
Full Discussion: Ubuntu ZFS split disk
Top Forums UNIX for Advanced & Expert Users Ubuntu ZFS split disk Post 302670397 by StrikeByte on Thursday 12th of July 2012 04:40:40 AM
Old 07-12-2012
Thats not a bad idea, but i want my os on a dedicaded disk and load it into ram and make the disk read only (so the os wont get damaged by normal use, it's somthing like the windows embedded enhanced writer filter but then for linux).
Is it possible to split the ssd aswell and use only half the disk for chache, and can the cache be used for multiple pools?
What's the minimum size for the cache to be usefull?
 

10 More Discussions You Might Find Interesting

1. Solaris

zfs mirror disk

Is it possible to create a Mirror with zfs ?? I'm experimented user with Solstice Disk suite. Or Sun Volume manager or veritas volume manager. But, i would like switch from Disksuite to Zfs. All my mirrored disks. (1 Reply)
Discussion started by: simquest
1 Replies

2. Solaris

after ZFS can not restore VTOC of disk..

I tried to use zfs .. only for test ..so when I take my test disks into zfs pool their VTOC changed .. and 7th slice does not appear now. How can I restore default VTOC to my disks. my machine is x86 .. SunFire X4200 .. so this disks do not have slices like sparc machines .. they have... (6 Replies)
Discussion started by: samar
6 Replies

3. Solaris

ZFS disk label missing

I 'm having problem in importing a zfs pool was getting error device missing and upon further digging found that labels on my disk for zpool are missing Does anyone know how to recover from it ? root@essapl020-u006 # zdb -l /dev/dsk/emcpower0c --------------------------------------------... (0 Replies)
Discussion started by: fugitive
0 Replies

4. Ubuntu

XP and Linux (Ubuntu) on same disk, Can I install Ubuntu on not-yet partitioned portion of disk?

My PC (Esprimo, 3 yeas old) has one hard drive having 2 partitions C: (80 GB NTFS, XP) and D: (120 GB NTFS, empty) and and a 200 MB area that yet is not-partitioned. I would like to try Ubuntu and to install Ubuntu on the not-partitioned area . The idea is to have the possibility to run... (7 Replies)
Discussion started by: C.Weidemann
7 Replies

5. Solaris

Poor Disk performance on ZFS

Hello, we have a machine with Solaris Express 11, 2 LSI 9211 8i SAS 2 controllers (multipath to disks), multiport backplane, 16 Seagate Cheetah 15K RPM disks. Each disk has a sequential performance of 220/230 MB/s and in fact if I do a dd if=/dev/zero of=/dev/rdsk/<diskID_1> bs=1024k... (1 Reply)
Discussion started by: golemico
1 Replies

6. Solaris

ZFS - whole disk Vs slice

we have a ZFS file system that was created as a pool of just one disk (raid on a SAN) when this was created it was done as a whole disk, and so EFI label. now we want to mount this file system into an LDOM. my understanding of how ldom's and disk works this is that we can only do this as a... (1 Reply)
Discussion started by: robsonde
1 Replies

7. Solaris

ZFS Slice disk

Hi, How to to make a slice and define as ufs from zpool? Please advice me. Thanks. ---------- Post updated at 01:53 AM ---------- Previous update was at 12:24 AM ---------- Before slice: Part Tag Flag Cylinders Size Blocks 0 root wm 0 ... (2 Replies)
Discussion started by: mzainal
2 Replies

8. Solaris

How to split a zfs/zpool mirror for backout purposes?

Hello, I am upgrading Veritas from 5.1 to 6.0.1/6.0.5 in a Solaris 10 u8 server with OS mirrored (rpool) in zfs/zpool configuration. I need to split it to have a quick way to backout in case of failure (make splitted mirror side bootable for a quick revert, like booting from it). I remember... (3 Replies)
Discussion started by: feroccimx
3 Replies

9. Solaris

Zfs out of disk space

hi, have no a lot of experience with zfs so perhaps the question is quite simple but i didn't find any reasonable info how to resolve it. thus, fresh solaris installation 14GB in 86 files copied after that got msg No space left on device (28) in spite of according to stat there is... (4 Replies)
Discussion started by: bindto
4 Replies

10. Ubuntu

Ubuntu 16.04 - upgrade to ZFS 0.7?

What is the recommended way to upgrade ZFS on Ubuntu 16.04? i have read this thread, but the PPA is not safe? Ubuntu 16.04, ZFS 0.7.3 anyone got it running? : zfs (7 Replies)
Discussion started by: kebabbert
7 Replies
FS_SETCACHESIZE(1)					       AFS Command Reference						FS_SETCACHESIZE(1)

NAME
fs_setcachesize - Sets the size of the disk cache SYNOPSIS
fs setcachesize [-blocks <size (0 = reset)>>] [-reset] [-help] fs setca [-b <size (0 = reset)>>] [-r] [-h] fs cachesize [-b <size (0 = reset)>>] [-r] [-h] fs ca [-b <size (0 = reset)>>] [-r] [-h] DESCRIPTION
The fs setcachesize command changes the number of kilobyte blocks of local disk space available to the Cache Manager for its data cache, on machines that use a disk cache. The command is not operative on machines that use a memory cache. To return the cache size to the default value specified in the third field of the local /etc/openafs/cacheinfo file, provide a value of 0 to the -blocks argument. To return the cache size to the value set when the machine was last rebooted, use the -reset flag instead of the -blocks argument. This is normally the amount specified in the cacheinfo file, unless the -blocks argument was included on the afsd command to override the cacheinfo value. To display the current cache size and amount of cache in use, for both disk and memory caches, use the fs getcacheparms command. CAUTIONS
This command is not operative on machines using a memory cache, and results in an error message. To change memory cache size, edit the cacheinfo file and reboot, or reboot and provide the -blocks argument to the afsd command. On machines using a disk cache, do not set the cache size to exceed 85% to 90% of the actual disk space available for the cache directory. The cache implementation itself requires a small amount of space on the partition. OPTIONS
-blocks <size> Specifies the amount of disk space available for the Cache Manager to devote to the cache. The size should be a positive integer followed by an optional suffix: "K" for kibibytes (1024 bytes, the default), "M" for mebibytes (1024 kibibytes), "G" for gibibytes (1024 mebibytes), and "T" for tebibytes (1024 gibibytes). Provide a value of 0 to set cache size to the default specified in the cacheinfo file. -reset Returns the cache size to the value set when the machine was last booted. This agrees with the value in the cacheinfo file unless the -blocks argument was used on the afsd command. -help Prints the online help for this command. All other valid options are ignored. EXAMPLES
The following command sets the disk cache size to 25000 kilobyte blocks. % fs setcachesize -blocks 25000 Both of the following commands reset the disk cache size to the value in the cacheinfo file, assuming that the -blocks argument to the afsd command was not used. % fs setcachesize -blocks 0 % fs setcachesize -reset PRIVILEGE REQUIRED
The issuer must be logged in as the local superuser root. SEE ALSO
cacheinfo(5), afsd(8), fs_getcacheparms(1) COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. OpenAFS 2012-03-26 FS_SETCACHESIZE(1)
All times are GMT -4. The time now is 02:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy