Server :: Lowest Percentage To Set With Tune2fs -m On Ext3?
Jun 14, 2011I need a little more space than tune2fs -m 1 /dev/sdb will allow... can I set a smaller number?
View 3 RepliesI need a little more space than tune2fs -m 1 /dev/sdb will allow... can I set a smaller number?
View 3 RepliesLast night, OSSEC sent me some warning emails related to bad hard disk:Code:Apr 3 20:26:58 207 kernel: sd 0:0:0:0: SCSI error: return code = 0x06000000
Code:
Apr 3 21:57:52 207 kernel: EXT3-fs error (device sda1): ext3_get_inode_loc: unable to read inode block - inode=299533439, block=599064613
[code]....
I don't know what is going on with one of my servers.
It is sitting with a load average of 10.09 10.08 10.02
However If I look at top I see the server between 95% and 99% idle!
Is it possible that my server is running some hidden processes or something?
How I can investigate the cause of this.
My monitor tools indicate that the percentage of swap used is more than the ideal , so I want to calculate which process is consuming from the swap. I tried the following but it didn't help be 100%
#ps -eo vsz,rss,pid,args | sort -n
How to accurately calculate which process consuming from swap, just the swap no ram + swap!
i want to enable the "large_file" option for a file system sda5. Though i got the option from "man tune2fs" , am unable to execute that.
Code:
#dumpe2fs -h /dev/sda5 | grep "Filesystem features"
dumpe2fs 1.32 (09-Nov-2002)
Filesystem features: has_journal filetype needs_recovery sparse_super
The following is not working , as i think am missing something here.
Code:
tune2fs -O[+]feature[,large_file] /dev/sda5
Using opensuse 11.4. The desktop clock which was in the center of the lowest panel has disappeared?!? How do I get it back?
View 1 Replies View RelatedEvery time I boot input volume is set to the lowest possible setting... and no-one can hear me.
How can I get this to be at max automatically? (Specific setting visible below)
Every once in a while my laptop screen gets stuck on the lowest brightness setting. I go to the brightness setting, and it tells me it is on the highest setting. When I reset my settings, nothing happens. And I notice this usually happens after I have put the laptop in suspend mode.
View 1 Replies View RelatedHow can I change the default video mode for ubuntu to the lowest possible to be able to work on SD TV instead of LCD monitor?
View 1 Replies View RelatedI have a Western Digital 2TB HDD on Ubuntu 9.10. This is my secondary HDD which is used only for Storage of media files. I mount it as & when needed only to stream my media content. I have tried many times to use tune2fs to free up the extra space which has been reserved automatically by linux yet although it accepts the commands & doesnt give back any errors, when I run the df- h or du- h commands, linux has still reserved 200GB & I only have 1.8TB to use. This extremely annoying as Im quickly filling it up with about 400GB currently available for me, that could easily be 500GB.
My primary drive is a seperate HDD of 320GB Storage is /dev/sdb1 for which I mount it to a folder called 'media-centre'. Then after mounting, I run the command: tune2fs -m 0 /dev/sdb1 media-centre I takes the command with no problems, I run df -h, & no joy. I have read my books at home as well as google searches & forums. Am I missing something simple here, does this command work only with certain types of HDD's?
I posted on another forum & followed a post that said I should convert from ext3 to ext2 as the journal is the cause, I ran a tune2fs -O ^has_journal etx2 /dev/sdb1 (something like that) & checked /etc/fstab which did not reference my storage HDD.
I did a tune2fs -l on some volumes of mine, and a few say "not clean" as the filesystem state. But how do I tell what's causing it to be not clean, or how severe it is, so i know how soon i need to schedule downtime to run a e2fsck on that volume?
View 10 Replies View RelatedFstab has at the end some values: 0 1 for / or 0 2 for /home or others.
It is nice to set tune2fs -c 2 for disks that have to be reliable and increase the security of the data.
tune2fs is not working for JFS. How to make this check at every single boot of the Debian/ubuntu machine?
I'm logged into a server through the CLI and did a df -T and confirmed all my volumes are ext3. but when I do a tune2fs -l /dev/sde it tells me
tune2fs 1.39 (29-May-2006)
tune2fs: Permission denied while trying to open /dev/sde
Couldn't find valid filesystem superblock.
I don't have root access on the server, but is that why it's complaining, or is my syntax incorrect?
I just discovered that you can automount an ext4 filesystem with acl enabled by running "tune2fs -o acl". (I knew about tune2fs but did not dare to use it until now). However, the acl mount option does not show up in /etc/mtab and /proc/mounts. Can I ignore this, or is there a way of telling the system about the actual mount options?
Edit: I can do "tune2fs -l <device> | grep acl | awk '{print $4}'" and if that isn't empty I can update /etc/mtab with "mount -f -o remount,acl <device>", but like the udev rule I previously messed with this seems lumberingly unelegant to me.
I Tarred and GZipped most of the data on one 1Tb partition and stuck the archives on a second 1Tb partition on a separate disk. I then proceeded to format the first partition with NTFS (from Linux.) The only problem is that I completely forgot that I had a CD drive and formatted sdc1 instead of sdd1! I began doing a full NTFS format and after a minute or two I cancelled it and decided to do a quick format. I then realized my mistake. I managed to find a copy of the superblock and began trying to recover the disk. fsck -t ext3 recognized the partition as NTFS but I luckily didn't have fsck.ntfs installed so it didn't touch it. I managed to get it working with fsck.ext3 (with -b,-B and -y) fsck.ext3 didn't mind that it was an NTFS partition.
Roughly how long will this take? It's running from Knoppix within a virtual machine to a USB hard drive which is 100% full. Days? Being that for a few minutes I attempted a full format am I going to end up with a bunch of corrupted archives? If I do end up with file corruption can anyone recommend a way of recovering the data / sorting it out? Is it likely to be just a few old files that are corrupt (It's my understanding that filesystems like to keep files in the same area on the disk to minimize the amount of head travel.) This might just be wishful thinking but as the filesystem fills up will ext3 put the newer files towards the end of the disk? If so then I'm hoping that a full NTFS format starts at the beginning of the disk.
I have some large volumes that I don't want to automatically be e2fsck'd when I reboot the server. Is it safe to change maximum mount count to -1 and check interval to 0 while a volume is mounted, or will that cause problems to the file system?
View 2 Replies View RelatedI have a 6 disk machine, i am using FC12, i created a software raid 5 device /dev/md1
i formatted it
Code:
mkfs.ext4 /dev/md1
and mounted with options as so:
[Code]...
I have a lv image = /dev/vg0/server01. I create a partition using fdisk /dev/vg0/server01. Now, i have a partition under lv image = /dev/vg0/server01p1. how do i format /dev/vg0/server01p1 to ext3, it seems that the system doesn't recognize the partition under /dev. the purpose of this is to fully restore filesystem on domU (xen).
View 4 Replies View RelatedMy configuration is as Follows:
Intel Pentium Dual core 2.6 Ghz
4 GB DDR2 Apacar 800 Mhz RAM
Gigabyte ATI Radeon 5450 HD GPU
I'm using Fedora 14 KDE but on startup it uses 40% of my processor. I'm using the proprietary 10.12 AMD ATI Linux Driver. I'm only using blur and woobly windows effect and I'm using OpenGL. Kubuntu/Suse never gave me this trouble. Even GNOME doesn't only KDE and fedora 14 is troubling me.
I know how to set and have set my net-book gz5 running on lucid to stay on at all times.however unlike in xubuntu I don't have the option to change when the computer is critically low. I don't have the room to install xubuntu with my preferred gnome desktop wondered if anyone out thee knows where if there is a .config file that I can dictate the percentage of battery life before being considered critically low. ei now it seems to consider itself low at 15% which robs me of about 2 hours of usage id like to set it around 1%
View 5 Replies View RelatedI have lost the data of my drive having file system ext3, please tell me the most reliable softwares for data recovery, please try to tell also GUI software.
View 1 Replies View RelatedI have a centOS 5 box with 3ware 8 port raid cards.I run fsck.ext3 -y /dev/sdb1 and it shows as clean.But after writing to the FS for about 2 minutes, it becomes read-only.When I umont -l /data, and run the fsck I get that another program is using the system an I should wait.If I reboot the server , the array comes back as clean.
View 2 Replies View Relatedhow to mount ext3 file system with direct i/o.on AIX has dio mount option to use direct i/o and solaris too.
View 2 Replies View RelatedEnd_request: I/O error, dev sds, sector 420656157
EXT3-fs error (device sda2) : ext3_find_entry : reading directory # 52527153 offset
What is this Above Error which I am getting , on my server
Do you know some source that has statistics/estimations about this?
Any sound guesses?
In my sudoers file, there are lines that begin with #, lines that begin with % and lines that begin with neither. The # is definitely being used to comment out lines, but what does the % do? Is it a comment marker too?
View 2 Replies View RelatedMy old PC has new life thanks to Ubuntu 9.1. However, a few small problems still remain:
1. D-Link wireless adapter: My wireless connection percentage never seems to get higher than 70%, even though the wireless router is right outside the door. And to top it off, I can see other neighbor's networks and the signal strength is higher! I am running ndiswrapper if that helps, and the connection is WPA/WPA2, speed of 130 Mb/s which is great, but can I improve the signal?
2. If I leave the computer on and come back after a while, the monitor is black, and I can see that the wireless connection is still going, but I can't seem to "wake up" the computer. I have messed with the settings, but have not attempted anything in the terminal. Can someone provide a simple fix? I would like to Suspend or Hibernate, but they don't work (meaning, I can wake up the computer). So I have resorted to simply logging off each time, which works.
3. Watching streaming video using RealPlayer, many times the screen freezes, and I am unable to navigate to anywhere else on the computer. Meaning, the mouse moves, but cannot open, close, change, do anything on the computer. Ctrl-Alt-Dlt doesn't even work to pop up anything. Is there a less abrupt way to Force Quit than holding down the power button on my computer and restarting the whole thing? I am sure that is not too good for the computer.
Please does anyone know or have a link to an article that suggest that most of the worlds servers run on Linux instead of Windows?
View 11 Replies View RelatedI've got a loop which is able to echo out how complete a process is after each loop (e.g says 25% if the loop has 4 elements and has run once through). Is there any way I can print characters, perhaps a progress bar? I was thinking of using the percentage as a count or something and using.
Code:
I got told off for including code from work here.
I have configured a "Syslog" server on /var directory as a separate ext3 partition - to receive the logs and events from the clients & the firewall as well. The directory needs to grow dynamically as the logs are populated. Is there a way i can make the filesystem grow dynamically as and when the directory is full.
View 6 Replies View Related