OpenSUSE Hardware :: Disable Drive Write Cache At Boot With Hdparm?

Jul 16, 2010

I'm testing OpenSUSE 11.3 on a server and I'd like to disable the write cache on all of my drives. In Ubuntu Server I was able to accomplish this with hdparm by adding the appropriate settings to /etc/hdparm.conf

As far as I can find the only thing that OpenSUSE offers is /etc/sysconfig/ide which allows you to force particular DMA modes. I could just put the hdparm commands in /etc/init.d/boot.local but I'd prefer to do it the right way if there is a right way to do this in OpenSUSE.

View 2 Replies


ADVERTISEMENT

Fedora :: Disable Write Cache To Usb Flash Drives?

Aug 27, 2011

I have problem with umounting usb flash drives. When I insert usb flash and copy big files to it ( 400MB ) copy process is quick ( system use cache to store files ). After this when I umount this drive, after 1 minute I got error that this drive cannot be unmounted ( because cache is not stored in drive, umount time limit I think ). How to disable write cache to usb flash drives, change its size or change umount timeout.

View 5 Replies View Related

General :: Mount - Disable Read And Write File Cache On Partition?

Feb 8, 2011

How do i disable the linux file cache on a xfs partition (both read an write).

We have a xfs partition over a hardware RAID that stores our RAW HD Video. Most of the shoots are 50-300gb each so the linux cache has a hit-rate of 0.001%.

I have tryed the sync option but it still fills up the cache when copinging the files. ( about 30x over per shoot :P )

/etc/fstab:
/dev/sdb1 /video xfs sync,noatime,nodiratime,logbufs=8 0 1

Im running debian lenny if it helps.

View 2 Replies View Related

OpenSUSE Hardware :: How To Disable Or Adjust Driver Cache

Jun 11, 2011

How I can disable the driver cache or adjust it better?
I have
/ ext 2
everything else ext4 and my storage drive has xfs.
Anytime I need to do a reset, whatever is in the cache is unreadable afterward. I like to avoid this. The best would be not to have a reset, but sometimes it just happens. Can I do that?

View 9 Replies View Related

General :: Use Hdparm To Unlock Drive?

May 25, 2010

I am running Xebian on my old Xbox. Currently I am trying to fit an old hdd that is locked (to a mo-bo that has expired). I have connected it up instead of the dvd drive and booted with it as slave. The OS can access it using hdparm -I /dev/hdb, but it showing as locked I have the key which is:

HDDLockDisablePassword 76 1d d3 2b e9 df 17 96 64 3b 5c 5f d9 95 ba 4e 74 f5 e5 0e 00 00 00 00 00 00 00 00 00 00 00 00

I am trying to input this using hdparm I have tried:

hdparm --security-mode U --security-unlock 761dd32be9df1796643b5c5fd995ba4e74f5e50e000000000000000000000000 /dev/hdb

which doesn't work. What format does the password need to be in. I suspect ASCII but I can't type some of the characters. Is the rest of the syntax correct? EDIT I have another key:

XboxHDKey d0 f3 f9 9a 03 20 41 b7 a4 70 bd eb 1b b3 cc ac

Should I be using this one?

View 1 Replies View Related

Debian Hardware :: Can Hdparm's Readahead Setting Mess Up IDE Hard Drive?

Sep 10, 2011

On a Powerbook G4, I set hdparm to set the filesystem readahead (-a) to the maximum 2048 on boot. This produces a visible increase in performance... But today the hard drive started acting up - first generating I/O errors when trying to access various system binaries, and the second time bringing the desktop to a standstill and emitting loud clunking noises.In both cases the drive worked normally after a reboot... Even so, these are not what I'd consider good signs. However, the computer was working perfectly up until now, so I'm wondering if my tweaking was responsible. Can overly aggressive filesystem readahead settings damage an IDE hard drive?

View 2 Replies View Related

Hardware :: Disable Read Cache With SSD?

Jul 13, 2010

I have Intel X25-V SSD connected to linux machine and its status is shown as "[sdb] Write cache: enabled, read cache: enabled" in dmesg. I knew we can disable write cache using hdparm. Is there any way to disable read cache and is this read cache present on SSD ?

View 1 Replies View Related

General :: Disable Processor Cache ?

Feb 14, 2011

I want to disable processor cache or in other words, want to read write data directly from RAM... Is there any way to make it possible? I am talking about on chip cache memory not any disk cache stuff.

View 1 Replies View Related

OpenSUSE Hardware :: 11.3 - Smartd And Hdparm - Different Temp Values

Sep 17, 2010

I have hdparm running and see the reading in gkrellm
.dev/sda = 36 celcius
in messages
smartd[2895]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 108 to 107
Where to change that smartd reading?

View 1 Replies View Related

OpenSUSE Hardware :: Write To Floppy Drive /dev/fd0 (11.3 X86_64)

May 1, 2011

I currently discovered a problem when using the floppy drive /dev/fd0: I can't use it. I can mount /dev/fd0 as normal, can create/write a file, but it is not written to the floppy disk. Instead of that the current program (eg vim) hangs (or is "uninterruptable") until I remove the floppy disk from the drive. Because of the removal I get several errors in /var/log/messages. What I'm doing:

== snip ==
mount /dev/fd0 /mnt
echo "TEST" > /mnt/test
sync [--> HANG until I remove the floppy disk]
[sync "completes"/terminates, insert floppy disk]
umount /mnt
== snap ==

(In this example I used echo instead of vim, because it behaves the same in this situation) The errors I get are as follows:

[Code]...

View 9 Replies View Related

Hardware :: Write A Floppy Boot Image To Floppy Drive (as Root)?

Feb 19, 2010

I am trying to write a floppy boot image to my floppy drive (as root):

Code:
dd if=boot.img of=/dev/fd0
dd: opening `/dev/fd0': Read-only file system

[code]....

View 8 Replies View Related

OpenSUSE Install :: 11.4 - Enable Grub Or Boot Write To MBR

Jul 28, 2011

I have a windows 7 hard drive as Sda0 and have a second hard drive as Sdb1, which is where I want to install OpenSuse 11.4. Now here is where I am not sure on the install, so I don't screw my self up. I have 100mb partition on sda0 that windows 7 is using, do I enable grub or have the boot write to MBR?

View 3 Replies View Related

OpenSUSE Hardware :: How To Disable Filesystem Checks On Boot

Mar 12, 2010

How to diasable filesystem checks on boot?

View 9 Replies View Related

OpenSUSE Install :: Disable Background Images At Boot?

May 20, 2011

I have managet to customize my logon screen the way i want it,

1.

Problem is i do not wish to have background imege at bootsplash screen (still want to receive option how to boot just simple text);

2.

And later when system is loading modules and starting i just want to have simple black background on my screen, with nice text (verbose) telling me what is done.

Running 11.3 x64 opensuseSUSE

View 7 Replies View Related

Ubuntu :: Use Fast Drive As Fileserver Cache?

Sep 24, 2010

I have ubuntu lucid lynx server running on an old eMachine as a fileserver. It has a big (2TB) slow (10-20 MB/s) external drive (ntfs-3g), and a small (20G) fast (60 MB/s) internal drive (ext3).

Using smbfs and vsftpd and sshd, all my data lives on the big drive and I'll see dramatic speed differences between the drives.

I'm wondering, is there a way to things up so that the external drive uses a cache on the internal drive to speed things up?

For example ... ftpd takes data from a client, and instead of slowly writing it directly to the external drive, it is written first (and quickly) to the internal drive, then, later, it is written to the external drive?

View 2 Replies View Related

General :: Disable The Copy-on-write Features Of The MMU?

May 11, 2010

Is if an existing option for me to disable the copy-on-write features of the MMU? I'm doing this for a project. I do not see this on the config menus (or I did not find the correct place). If it's not an existing option, do anyone know how can I change the kernel so that it can do non-copy-on-write fork?

View 3 Replies View Related

OpenSUSE Install :: Disable Cpus... Maxcpus=1 Nosmp Causes Boot To Fail

Nov 9, 2010

I have a OpenSuse Linux system that needs to use only one core of its four core processor. I tried putting this in the menu.lst file.

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.3
root (hd0,1)

[code].....

Am I placing the nosmp and maxcpus options in the proper location?

View 3 Replies View Related

Debian Configuration :: Trying To Set Up SSD As Cache Drive To External HDD With Bcache

Sep 22, 2015

I'm trying to set up an SSD as a cache to my external HDD (which is where my installation of Debian testing/stretch is installed). My installation is using LVM 2. I'm trying to have the SSD cache the entire external HDD, and not just one of the partitions (such as the root or home partitions).

Here are the relevant outputs.

uname -a: (Yes, I'm using the Debian stable kernel with Debian testing.)

Code: Select all3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u3 (2015-08-04) x86_64 GNU/Linux

lsblk:
Code: Select allNAME                              MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda                                 8:0    0 149.1G  0 disk 
sdb                                 8:16   0 111.8G  0 disk 
sdc                                 8:32   0 298.1G  0 disk 
├─sdc1                              8:33   0   243M  0 part  /boot
└─sdc5                              8:37   0 297.8G  0 part 
  └─sdb5_crypt                    254:0    0 297.8G  0 crypt
    ├─mydebianhostname--vg-root   254:1    0  14.3G  0 lvm   /
    ├─mydebianhostname--vg-swap_1 254:2    0  11.5G  0 lvm   [SWAP]
    └─mydebianhostname--vg-home   254:3    0   267G  0 lvm   /home
sr0                                11:0    1    25M  0 rom

make-bcache -B /dev/sdc:
Code: Select allCan't open dev /dev/sdc: Device or resource busy

Must I "operate" on this drive via a live session or something.

View 0 Replies View Related

Ubuntu :: USB Drive Mounts But User Can't Write To Drive?

Apr 6, 2010

I've got a bare bones Ubuntu 10.04 set up (xorg, openbox, usbmount). My (vfat32) stick drive mounts, and I can see what is in the one directory on the drive, but I can't write to the drive unless I use sudo. I tried the obvious step of attempting to change permissions on the drive..

Code:
keith@quiet:~$ sudo chmod -R 777 /media/usb0
[sudo] password for keith:

[code]...

View 9 Replies View Related

Hardware :: Local Hard Drive As Cache For Nfs Mount Writes?

Jun 18, 2011

I had the idea to cache writes to my nfs filesystem on my local hard drive.

It seems CacheFS exists to cache reads, but not writes to nfs.

I would imagine that if I could cache writes to my nfs on a local drive I could have a fast system, but keep all my files where I want them on my network.

I'm thinking about this because I am planning on buying a SSD, and I would imagine if I could set things up this way the system could be lightening fast while keeping things on the network. Currently if I copy a large file (hundreds of MB) it is quite slow, with an SSD and caching, I would imagine the copy could be very fast.

View 1 Replies View Related

OpenSUSE Install :: Grub Boot / Unable To Change The Boot Records On The Drive?

Aug 18, 2010

Dual Booting my laptop and unable to change the Boot Records on the drive. Not because I dont know how, but my primary OS will fail to boot(win7).

I have drive partitioned as follows...
sda1 = Win7 system (default install)
sda2 = Win7 Main (default install)
sda3 = swap
sda4 = Extension (I think thats what its called)
sda5 = / (ext4)

What I need is a boot cd or perferably Grub installed on a 256MB Thumb drive with the options to load the installed system from sda5.

View 4 Replies View Related

Debian Multimedia :: Disable Write Caching For Removable Media?

Feb 9, 2010

how to make removable media (e.g. USB sticks) not have any write caching. I want to prevent data loss when they are removed after file copying appears done but before write caches are written. I'm using Gnome on Squeeze.

I've found suggestions of adding the 'sync' mount option to /system/storage/default_options/vfat/mount_options in the Gnome configuration. However this doesn't seem to completely eliminate write buffering, as the drive activity light continues for several seconds after file copying appears done, and unmounting drives produces a dialog box which says to wait whilst data is written to disk.

View 5 Replies View Related

OpenSUSE Install :: Boot From An External Drive / Set Up A Triple Boot?

Jan 4, 2010

does anyone know that if i can boot from an external hard drive with "openSUSE" installed on it?

how about FireWire, will it work?

i'm trying to set up a triple boot for me newly bought iMac.

View 4 Replies View Related

OpenSUSE Install :: Create USB Boot Drive (like The Old Boot Floppies)?

Sep 29, 2010

I have a Dell laptop with Windows XP installed, and for various reasons (Help: I borked my WindowsXP boot when installing OpenSUSE 11.3) I can not install a GRUB boot loader to the first hard drive (hd0).

I currently have a second hard drive in this laptop with a perfectly working OpenSUSE 11.3 instance, but no way to boot into it. I remember back in ancient times, a common option with Linux distros was to create a boot floppy to boot into Linux rather than installing GRUB or LILO to MBR. Since this laptop doesn't have a floppy drive I'd like to do the same thing with a USB stick. Is there any way to install GRUB (or something similar) to a USB stick? What I am not asking here is whether I can put a full, bootable Linux instance on a USB drive - I only want a boot loader on USB that launches to the appropriate mount point on (hd1).

View 6 Replies View Related

Fedora :: Error: Caching Enabled But No Local Cache Of //var/cache/yum/updates-newkey

Sep 24, 2009

I don't understand this error nor do I know how to solve the issue that is causing the error. Anyone care to comment?

Quote:

Error: Caching enabled but no local cache of //var/cache/yum/updates-newkey/filelists.sqlite.bz2 from updates-newkey

I know JohnVV. "Install a supported version of Fedora, like Fedora 11". This is on a box that has all 11 releases of Fedora installed. It's a toy and I like to play around with it.

View 12 Replies View Related

Software :: Redirecting APT Cache - Can Redirect Cache Of Apt To A Specified Folder Either On Command Line Or Via A Config Setting?

Jan 5, 2011

I was laughing about klackenfus's post with the ancient RH install, and then work has me dig up an old server that has been out of use for some time. It has some proprietary binaries installed that intentionally tries to hide files to prevent copying (and we are no longer paying for support or have install binaries), so a clean install is not preferable.

Basically it has been out of commission for so long, that the apt-get upgrade DL is larger than the /var partition (apt caches to /var/cache/apt/archives).

I can upgrade the bigger packages manually until I get under the threshold, but then I learn nothing new. So I'm curious if I can redirect the cache of apt to a specified folder either on the command line or via a config setting?

View 2 Replies View Related

Server :: Squid Cache System - Make It Cache All Files Like .exe .mp3 .avi

Mar 6, 2011

I installed squid cache on my ubuntu server 10.10 and it is work fine but i want to know how to make it cache all files like .exe .mp3 .avi ....etc. and the other thing i want to know is how to make my client take the files from the cache in the full speed. since am using mikrotik system to use pppoe for clients and i match it with my ubuntu squid

View 1 Replies View Related

General :: Difference Between Hardware Cache And Slab Cache?

Nov 22, 2010

I am reading slab allocator, it defines slab cache, i am quite confuse is it same as hardware cache?

View 2 Replies View Related

Ubuntu :: Cache Hardware Configuration For Faster Boot?

Nov 10, 2010

I am using Ubuntu Maverick on my Eeepc 701, and everything is working quite nicely. Since I only have 4GB SSD drive, my setup is that the LiveCD is booted from the SSD, while my 'casper-rw' partition is on a 4GB SD card. I have 2GB of ram and do not use swap. I am wondering if there is a way to somehow cache the results of the hardware probe and configuration, and insert the cache into LiveCD by remastering it. The idea is that less time will be needed to boot, since everything that was found from the first boot was saved.

Of course this would mean that particular modified LiveCD wouldn't reliably boot on anything other than my system (or one like it), but seeing as how my hardware won't change in the future, it isn't a problem.

Is something like this possible? I'm not afraid of recompiling a kernel or rebuilding an initramfs if needed. A possible alternative idea to accomplish this would be to boot up the vanilla LiveCD as normal, configure a swapfile, hibernate, then inject this swapfile into the LiveCD image.

This way, every boot would automatically just be resuming from hibernation. This could potientally mess with the casper-rw partition, but that is something I would worry about later (and I am not opposed to just eliminating the casper-rw partition altogether and running off ram each boot).

The other problem might be that the swapfile would probably need to be the size of my ram (2GB). Chances are, after a fresh boot my ram will be mostly empty, therefore would it be possible to compress the swapfile (like swapfile.gz)? I will be looking into either alternative, but I was hoping to get some opinions / ideas on how to accomplish this (or whether it has already been done!)

[Code]..

View 4 Replies View Related

Ubuntu :: How To Compile The New Hdparm

Apr 19, 2010

I've been using ubuntu for the past year now but unfortunately I have to confess I never had to compile anything from scratch. I bought a new intel SSD drive and I've been running some benchmarks on it with various fs. The new hdparm version has a few features that I'd like to test (TRIM/wiper) but I don't know how to install it as it's not in the repositories. I've been googling for almost 4hrs now but I still haven't found a way to do it.

I've downloaded the tar.gz file from sourceforge and I've decompressed it. Inside, it was a debian folder but there was no .deb file in it. Anyway I did a "make hdparm" and it compiled with no errors. It gave me an "hdparm" executable which works fine if I call it with the full path. what's the proper way to install it in place of the already apt-get installed package?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved