You are not logged in.

#1 2010-05-03 11:12:10

munkoil
Member
From: Gothenburg, Sweden
Registered: 2010-05-03
Posts: 17

Problems using e2fsck

I'm recently switched to arch from ubuntu. It's a really nice and so far I've learned alot.

I have two problems. The first is that some of the disks I've used in ubuntu were large and checked a lot at start up so I turned of disk checks. Now I'm thinking about turning it on again but I can't complete the check without the computer crashes and reboots at about 95% completion on every disk needed to be checked. Seems like I did checks on some disks but there are 3 disks that has not been checked for 300 mounts or so. Anyone have an idea how to fix this problem of mine?

Only solution I've come up with is to mount the disks after startup and copy their contents and then format the drives. But this will take alot of time since there is a lot of data I want to save on them.

My second problem is that i have 2 network cards on my motherboard and for some unknown reason they switch interface number between them. Maybe it depends on what disks i mount in /etc/fstab, because all changes I've noticed this far is when I have edited fstab.

/etc/fstab: (the commented lines are those I have a problem with)

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0

#/dev/cdrom             /media/cd   auto    ro,user,noauto,unhide   0      0
#/dev/dvd               /media/dvd  auto    ro,user,noauto,unhide   0      0
#/dev/fd0               /media/fl   auto    user,noauto             0      0

/dev/sda1               /boot           ext2    defaults        0       1
/dev/sda2               swap            swap    defaults        0       0
/dev/sda3               /               ext3    defaults        0       1
/dev/sda4               /share/alpha    ext3    defaults        0       2
/dev/sdb1               /share/beta     ext3    defaults        0       2
#/dev/sdc1               /share/gamma    ext3    defaults        0       2
#/dev/sdd1               /share/delta    ext3    defaults        0       2
/dev/sde1               /share/epsilon  ext3    defaults        0       2
/dev/sdf1               /share/zeta     ext3    defaults        0       2
#/dev/sdg1               /share/eta      ext3    defaults        0       2
#/dev/sdh1               /share/theta    ext3    defoults        0       2

/etc/rc.conf:

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.utf8"
HARDWARECLOCK="UTC"
USEDIRECTISA="no"
TIMEZONE="Europe/Stockholm"
KEYMAP="dvorak"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=()

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="arch"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
# 
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#

#Static IP example
#eth0="eth0 10.0.1.4 netmask 255.255.255.0 broadcast 10.0.1.255"
eth1="dhcp"
INTERFACES=(eth1)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 10.0.1.1"
ROUTES=(!gateway)
 
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network netfs crond @openntpd sshd alsa dbus hal)

Thanks!

Offline

Board footer

Powered by FluxBB