Parallel File System Check

Reboot of Linux server consuming more time when there is a file system check (fsck)
Most of our server are using ext3 file system
Is there any possibility to make parallel fsck during reboot ?


Similar Content



EXT4 File System @ Server Side & Ext3 External Storage

Hi guys

We are urgently moving Oracle application to a backup server for some patching etc. The backup server is installed with Oracle 6.6 64Bit linux with default partitions. We found that the system has ext4 file system, while our external storage through HBA interface/IBM is formatted with ext3 file system.
Hence, please let us know what kind of performances issues we may come across, or the same could be ignored?

regards

Re-assembled Software Raid5 Now With No File System

Hi All

Please could someone assist me with a software raid 5 array issue i am having?

About a week or so ago i was asked to have a look at a mate of mine's Company Server that had crashed after a power failure - no ups and close to 9GB data with no backup.
HP Proliant mini server running OpenMediaVault v1.9. with a software raid5 setup consisting of 4x 3TB Western Digital Hard drives


The 80GB boot drive crashed (hardware malfunction) so i replaced it and installed the server with OpenMediaVault 1.9 as was previously installed. When starting up however i noticed that none of the shares were available and upon closer inspection discovered that the raid to had crashed. I therefore re-assembled the raid but now have no file system nor any partitions on any of the 4x drives.

This is about the extent of my knowledge base when it comes to Linux, and again i don't know that i'd want to risk it with no backup of the data.

I have run fsck /dev/md1, but this reports an error 2 while executing fsck.linux_raid_member not found.
Please i am desperate for some advise!

Thanks
Wayne

Check If A Tunnel Is Up - If Not, Log It.

I am using the following command to establish a reverse ssh tunnel with an ssh server

Code:
ssh root@my.hostname.here -R 5001:localhost:22

The server is rebooted every night and the tunnel is established automatically on reboot successfully every time.

What I need to do, is run a check, and if for some reason the tunnel is not established, I want to log it in a log file.

How can I reliably check if the tunnel is up or not?
Keep in mind that other ssh sessions might be active at the time, so I don't want the checking method to pick up any of those successful sessions. It has to check only the tunnel.

Thanks

An Error Occurred During The File System Check

Hi all!! Im new in this forum and also new at linux !!

I am installing an application that includes automatically the instalation of CentOS 6.3.

The server that hosts this application and OS had a power outage and then when i turn on the server again i get the error that you can see in this pictu http://postimg.org/image/7opm0xzel/

I have 2 disks in the system, 1 for the application and SO and other to store call recordings (thats what the application do, record calls!).

If I re-install the system it has no problem!! But i dont want to re-install the system every time i have a power outage because i lost too much and important information.

I have installed this application in other server and had no problem with power outage. In this server the diference is that it originally had raid and i "remove it" frome the BIOS. Maybe here is the problem??

Anyone can help me?? Remember im really new in linux !!

Export System Log

I know there is /var/log/messages for looging the system error , as we have many servers , and some data in the log is duplicated , it seems time consuming to check regularly , is there any way to extract the important error from the log rather than check it frequently ?

thanks

Trying To Change The IP Address And The Hostname

I have two servers, “ServerA” and “ServerB”. Using SLES SP3.

ServerA is the main server with LTSP running

I have used DD to image the drives from ServerA to ServerB. ServerB now boots and is identical to ServerA,and all is well. I want to use ServerB as a backup server, so if ServerA goes down I can bring server online. Obviously in order to put them both on the same network (to keep the user files updated on a daily basis) I need to change the IP address and the host name of serverB (currently is the same as ServerA).

I have done the following (copied from my notes):
Code:
  The following file, binds the ethernet MAC address to ETH0 or ETH1 etc..  We need to delete this file so that a new one is automatically created during reboot with the correct MAC address bound to ETH0
  Delete this file:
      /etc/udev/rules.d/70-persistent-net.rules

  make sure to change the static IP address in the following files
    /etc/dhcp.d
    /etc/hosts
    /etc/sysconfig/network/ifcfg-eth0
    /opt/ltsp/i386/etc/ltsp.conf

  give the system a different host name in:
    /etc/HOSTNAME

Reboot the system

When I change the HOSTNAME, the server will boot, bring me to a log in screen and then after I log in it will just sit there with the green background and a cursor. What files am I forgetting to change..

Linux Kernel Module Installation And Other Questions Related To Kernel Module Install

I have installed Linux 3.5 kernel and have compiled e2fsprogs as well. I have my own version of ext3 file system - lets say it is myfs. I have compiled myfs as well. Now I have few questions:

1.How to insert myfs module and where? When I do modprobe myfs (.ko file) it says module not found. When I simply do insmod myfs.ko it works but I am not sure where is it putting the .ko file. Also the displays I have added (on mkdir call) are not showing up (kernel debug level is also set to 8) when I try to create a directory in mounted folder

Makefile in myfs directory looks like this:

KERNEL_TREE ?= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)

obj-m := iext3.o

iext3-objs := balloc.o bitmap.o dir.o file.o fsync.o ialloc.o inode.o \
ioctl.o namei.o super.o symlink.o hash.o resize.o ext3_jbd.o \
xattr.o xattr_user.o xattr_trusted.o acl.o xattr_security.o icefs.o \
transaction.o commit.o recovery.o checkpoint.o revoke.o journal.o

all:
make -C $(KERNEL_TREE) M=$(PWD) modules

clean:
rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions *.markers *.order *.symvers

and I am compiling myfs from my own directory: /home/myname/soft/myfs.

Also, I don't see any ext2/ext3/ext4 directories in /lib/modules/linuxversion/kernel/fs/ -- not sure if this is right or wrong.

2.Mount is working fine. I can see myfs is mounted on /dev/sda3 by doing df -a. When I unmount It says - umount: /home/..../mnt: not mounted and then if I do df -a the file system is unmounted. This is strange as its unmounting but still throwing error.

Some Background: Directory where I have everything: /home/soft myfs/ mye2fs/ Linux-3.5/ mnt/

Step1: cd Linux-3.5 --> 1) make 2) make modules 3) make modules_install 4) make install 5) reboot

Step2: compile myfs (my version of ext3) and insert the myfs kernel module --> cd myfs/ --> make --> insmod myfs.ko

Step3: compiled mye2fs for mkfs

Step4: use mye2fs to create myfilesystem on a device --> mount --> test printk statements put under myfs modules

Rsync Without A Checksum Check? Centos 7

Hi All,
I am trying to perform an rsync without a check sum verification at the end of the copy.

I have tried both the -W (whole file) and the --no-checksum option and at the end of both file copies it performs a verification.


Code:
[root@centsrv01 /]# nice -n 20 rsync -avz --no-checksum  --bwlimit=2000 --progress /opt/vidconvert/converted/testfile.mp4 /opt/RouterUSB/TV/ChromeCast/
sending incremental file list
testfile.mp4
  1400440237 100%    1.94MB/s    0:11:28 (xfer#1, to-check=0/1)


I am copying from an XFS filesystem to a NTFS (CIFS) file system to a Samba share. Unfortunalty NFS is not an option.

Any Ideas?

Thanks

I Tried To Full Install Puppy Linux 4.3.1 From Cd But Will Not Reboot Without Cd

Im trying to break free from windows. just got puppy 4.3.1 and know nothing about linux . after trying a full install it will not reboot without cd in the drive, just says error loading operating system.My system has more than required amount of ram and almost 40 gig hd. have only 1 partition formated to ext2. could not figure how to use grub.

ps. also canot connect to wireless router

Problem Regarding Vsftp And /var/log/message !!

Friends ,

Recently I got two problem in my redhat machine :


version :

[root@pbltest ~]# cat /etc/issue
Enterprise Linux Enterprise Linux Server release 5.4 (Carthage)
Kernel \r on an \m

my vsftpd service is not started . I remove it and clean install and when I make restart then it stops but not started successfully .

When I check the log of "/var/log/messages" , then I found 'message' file is empty . I rename it and reboot the server but it doesnt generate any messages .

Please help me to resolve it .. ...