Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with (too) many partitions.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Gruffi
Apprentice
Apprentice


Joined: 15 Aug 2003
Posts: 209
Location: Antwerpen - Flanders - Belgium

PostPosted: Sun Feb 01, 2004 12:25 am    Post subject: Problem with (too) many partitions. Reply with quote

Ok most ppl will just laugh this away but here i go:

When i boot my system all filesystems get checked wheter they were unmounted cleanly.

But even when all filesystems where unmounted cleanly it says on every boot:

Code:
Fsck could not correct all error, manual repair needed
Give root password for maintenance
(or type Control-D for normal startup)


And after pressing Control+D everything goes well...

I fsck-ed all filesystems with -f, did a shutdown -F but still got the same error.

This happens on 2 computers.

My fstab:
Code:
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.13 2003/07/17 19:55:18 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.

# <fs>                  <mountpoint>    <type>          <opts>                  <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda2               /boot           ext2            noauto                  0 1
/dev/hda3               none            swap            sw                      0 0
#dev/hda4               extended
/dev/hda5               /               reiserfs        noatime,notail          0 2
/dev/hda6               /tmp            reiserfs        noatime,notail          0 3
/dev/hda7               /var            ext3            defaults                0 4
/dev/hda8               /root           jfs             defaults                0 5
/dev/hda9               /home           jfs             defaults                0 5
/dev/hda10              /usr            reiserfs        noatime,notail          0 5
/dev/hda11              /usr/src        reiserfs        noatime,notail          0 5
/dev/hda12              /usr/portage    reiserfs        noatime,notail          0 5
/dev/hda13              /usr/distfiles  xfs             defaults                0 6
/dev/hda14              /usr/packages   jfs             defaults                0 6
/dev/hda15              /usr/bin        reiserfs        noatime,notail          0 5
/dev/hda16              /usr/lib        reiserfs        noatime,notail          0 5
/dev/hda17              /usr/share      reiserfs        noatime,notail          0 5
/dev/hda18              /usr/share/man  reiserfs        noatime,notail          0 5
/dev/hda19              /usr/share/doc  reiserfs        noatime,notail          0 5
/dev/hda20              /usr/X11R6      reiserfs        noatime,notail          0 5
/dev/hda21              /usr/kde        reiserfs        noatime,notail          0 5
/dev/hda22              /opt            jfs             noatime                 0 5
/dev/hda23              /opt/quake3     xfs             noatime                 0 5
/dev/hda24              /root/backup    ext3            defaults                0 5
/dev/hda25              /home/bart/zooi xfs             noatime                 0 7

/dev/cdroms/cdrom0   /mnt/cdrom   iso9660      noauto,ro      0 0

# NOTE: The next line is critical for boot!
none         /proc      proc      defaults      0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none         /dev/shm   tmpfs      defaults      0 0



output from df -h:
Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda5             2.9G   76M  2.8G   3% /
/dev/hda6             981M   35M  947M   4% /tmp
/dev/hda7             479M   56M  399M  13% /var
/dev/hda8             250M  1.1M  249M   1% /root
/dev/hda9             250M  6.6M  244M   3% /home
/dev/hda10            495M  114M  381M  23% /usr
/dev/hda11            738M  285M  453M  39% /usr/src
/dev/hda12            495M  107M  388M  22% /usr/portage
/dev/hda13            2.9G  847M  2.1G  29% /usr/distfiles
/dev/hda14            2.9G  639M  2.3G  22% /usr/packages
/dev/hda15            251M  127M  125M  51% /usr/bin
/dev/hda16            738M  491M  247M  67% /usr/lib
/dev/hda17            495M  337M  158M  69% /usr/share
/dev/hda18            251M   56M  196M  23% /usr/share/man
/dev/hda19            251M  106M  146M  43% /usr/share/doc
/dev/hda20            251M  165M   87M  66% /usr/X11R6
/dev/hda21            495M  265M  230M  54% /usr/kde
/dev/hda22            250M   41M  209M  17% /opt
/dev/hda23            976M  546M  431M  56% /opt/quake3
/dev/hda24            966M   67M  850M   8% /root/backup
/dev/hda25             11G  3.7G  6.6G  36% /home/bart/zooi
none                  251M     0  251M   0% /dev/shm


Output from dmesg:
Code:
Linux version 2.6.1-gentoo (root@KlapDoos) (gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice)) #3 Mon Jan 19 19:23:35 CET 2004
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
 BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001ff70000 (usable)
 BIOS-e820: 000000001ff70000 - 000000001ff7b000 (ACPI data)
 BIOS-e820: 000000001ff7b000 - 000000001ff80000 (ACPI NVS)
 BIOS-e820: 000000001ff80000 - 0000000020000000 (reserved)
 BIOS-e820: 00000000ff800000 - 00000000ffc00000 (reserved)
 BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
511MB LOWMEM available.
On node 0 totalpages: 130928
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 126832 pages, LIFO batch:16
  HighMem zone: 0 pages, LIFO batch:1
DMI present.
ACPI: RSDP (v000 ACER                                      ) @ 0x000f5dc0
ACPI: RSDT (v001 ACER   Cardinal 0x20020514  LTP 0x00000000) @ 0x1ff74c61
ACPI: FADT (v001 ACER   Cardinal 0x20020514 PTL  0x0000001e) @ 0x1ff7af64
ACPI: BOOT (v001 ACER   Cardinal 0x20020514  LTP 0x00000001) @ 0x1ff7afd8
ACPI: DSDT (v001 ACER   Cardinal 0x20020514 MSFT 0x0100000d) @ 0x00000000
Building zonelist for node : 0
Kernel command line: root=/dev/hda5 vga=792
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
PID hash table entries: 2048 (order 11: 16384 bytes)
Detected 1598.790 MHz processor.
Using tsc for high-res timesource
Console: colour dummy device 80x25
Memory: 513168k/523712k available (3189k kernel code, 9792k reserved, 1005k data, 160k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 3162.11 BogoMIPS
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU:     After generic identify, caps: a7e9fbbf 00000000 00000000 00000000
CPU:     After vendor identify, caps: a7e9fbbf 00000000 00000000 00000000
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 1024K
CPU:     After all inits, caps: a7e9fbbf 00000000 00000000 00000040
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: Intel(R) Pentium(R) M processor 1600MHz stepping 05
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1598.0383 MHz.
..... host bus clock speed is 99.0898 MHz.
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfd732, last bus=2
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20031203
ACPI: IRQ9 SCI: Edge set to Level Trigger.
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs *10)
ACPI: PCI Interrupt Link [LNKB] (IRQs *10)
ACPI: PCI Interrupt Link [LNKC] (IRQs *10)
ACPI: PCI Interrupt Link [LNKD] (IRQs *5)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 9 11 12)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 9 11 12)
ACPI: PCI Interrupt Link [LNKG] (IRQs 10)
ACPI: PCI Interrupt Link [LNKH] (IRQs *10)
ACPI: Embedded Controller [EC0] (gpe 29)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.HUB_._PRT]
ACPI: Power Resource [PFN0] (off)
ACPI: Power Resource [PFN1] (off)
Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: Found PnP BIOS installation structure at 0xc00f5e50
PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0xa9a7, dseg 0x400
pnp: 00:0b: ioport range 0x4d0-0x4d1 has been reserved
pnp: 00:0b: ioport range 0x1000-0x105f has been reserved
pnp: 00:0b: ioport range 0x1060-0x107f has been reserved
pnp: 00:0b: ioport range 0x1180-0x11bf has been reserved
PnPBIOS: 17 nodes reported by PnP BIOS; 17 recorded by driver
SCSI subsystem initialized
Linux Kernel Card Services
  options:  [pci] [pm]
drivers/usb/core/usb.c: registered new driver hub
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 5
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 10
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
vesafb: framebuffer at 0xd8000000, mapped to 0xe080a000, size 16384k
vesafb: mode is 1024x768x24, linelength=3072, pages=27
vesafb: protected mode interface info at c000:54bb
vesafb: scrolling: redraw
vesafb: directcolor: size=0:8:8:8, shift=0:16:8:0
fb0: VESA VGA frame buffer device
SBF: Simple Boot Flag extension found and enabled.
SBF: Setting boot flags 0x1
Machine check exception polling timer started.
speedstep-centrino: found "Intel(R) Pentium(R) M processor 1600MHz": max frequency: 1600000kHz
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: overridden by ACPI.
devfs: v1.22 (20021013) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
udf: registering filesystem
SGI XFS for Linux with no debug enabled
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
ACPI: AC Adapter [ACAD] (on-line)
ACPI: Battery Slot [BAT1] (battery present)
ACPI: Battery Slot [BAT2] (battery absent)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Fan [FAN0] (off)
ACPI: Fan [FAN1] (off)
ACPI: Processor [CPU0] (supports C1 C2 C3)
ACPI: Thermal Zone [THRM] (56 C)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Console: switching to colour frame buffer device 128x48
pty: 256 Unix98 ptys configured
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel 855PM Chipset.
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 256M @ 0xe0000000
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 0000:00:1f.1
PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
ICH4: chipset revision 3
ICH4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1860-0x1867, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x1868-0x186f, BIOS settings: hdc:DMA, hdd:pio
hda: TOSHIBA MK4021GAS, ATA DISK drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: PIONEER DVD-RW DVR-K11, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 78140160 sectors (40007 MB), CHS=65535/16/63, UDMA(100)
 /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21 p22 p23 p24 p25 >
hdc: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2000kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Console: switching to colour frame buffer device 128x48
ehci_hcd 0000:00:1d.7: EHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: irq 10, pci mem e18a5000
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
PCI: cache line size of 32 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-13
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
uhci_hcd 0000:00:1d.0: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: irq 10, io base 00001800
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.1: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: irq 5, io base 00001820
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.2: UHCI Host Controller
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: irq 10, io base 00001840
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
Synaptics Touchpad, model: 1
 Firmware: 5.8
 180 degree mounted touchpad
 Sensor: 29
 new absolute packet format
 Touchpad has extended capability bits
 -> 4 multi-buttons, i.e. besides standard buttons
 -> multifinger detection
 -> palm detection
input: SynPS/2 Synaptics TouchPad on isa0060/serio1
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
Advanced Linux Sound Architecture Driver Version 1.0.0rc2.
request_module: failed /sbin/modprobe -- snd-card-0. error = -16
PCI: Setting latency timer of device 0000:00:1f.5 to 64
intel8x0: clocking to 48000
ALSA device list:
  #0: Intel 82801DB-ICH4 at 0xd0000c00, irq 10
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI: (supports S0 S3 S4 S5)
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device hda5, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hda5) for (hda5)
Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 160k freed
Adding 385552k swap on /dev/hda3.  Priority:-1 extents:1
Broadcom 4401 Ethernet Driver bcm4400 ver. 3.0.7 (10/31/03)
eth0: Broadcom BCM4401 100Base-T found at mem d0204000, IRQ 5, node addr 00c09f252807
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device hda6, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hda6) for (hda6)
Using r5 hash to sort names
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda7, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device hda10, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hda10) for (hda10)
Using r5 hash to sort names
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device hda11, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hda11) for (hda11)
Using r5 hash to sort names
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device hda12, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hda12) for (hda12)
Using r5 hash to sort names
XFS mounting filesystem hda13
Ending clean XFS mount for filesystem: hda13
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device hda15, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hda15) for (hda15)
Using r5 hash to sort names
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device hda16, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hda16) for (hda16)
Using r5 hash to sort names
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device hda17, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hda17) for (hda17)
Using r5 hash to sort names
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device hda18, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hda18) for (hda18)
Using r5 hash to sort names
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device hda19, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hda19) for (hda19)
Using r5 hash to sort names
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device hda20, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hda20) for (hda20)
Using r5 hash to sort names
found reiserfs format "3.6" with standard journal
Reiserfs journal params: device hda21, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (hda21) for (hda21)
Using r5 hash to sort names
XFS mounting filesystem hda23
Ending clean XFS mount for filesystem: hda23
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda24, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
XFS mounting filesystem hda25
Ending clean XFS mount for filesystem: hda25
bcm4400: eth0 NIC Link is Up, 100 Mbps full duplex


I know i have many filesystems/partitions but it *should* work without complaining about that shouldn't it? Anyone know how to prevent that error message?
_________________
... and we will show Microsoft, that they cannot take whatever they want. And that Free Software is our software!
Back to top
View user's profile Send private message
Sgaduuw
Tux's lil' helper
Tux's lil' helper


Joined: 17 Sep 2002
Posts: 133
Location: Rotterdam, Netherlands

PostPosted: Sun Feb 01, 2004 12:56 am    Post subject: Reply with quote

8O
why some many different partitions?

on which partition and which type of filesystem do you get the errors?
_________________
my website
Back to top
View user's profile Send private message
Gruffi
Apprentice
Apprentice


Joined: 15 Aug 2003
Posts: 209
Location: Antwerpen - Flanders - Belgium

PostPosted: Sun Feb 01, 2004 1:19 am    Post subject: Reply with quote

Sgaduuw wrote:
8O
why some many different partitions?


I like to have everything in it's own small space, otherwise everything gets filled up with junk and i wonder where all the diskspace has gone to.

Quote:
on which partition and which type of filesystem do you get the errors?


Well that's the problem: There are simply no errors. The error shows up after it says all filesystems are unmounted cleanly and no errors have been found.
_________________
... and we will show Microsoft, that they cannot take whatever they want. And that Free Software is our software!
Back to top
View user's profile Send private message
ajaxx
n00b
n00b


Joined: 12 Oct 2003
Posts: 12

PostPosted: Sun Feb 01, 2004 4:11 am    Post subject: Reply with quote

Frankly I'm amazed that it worked even for a little while. The extended partition scheme on x86 machines only allows for 4 logical partitions within each extended partition. Or so I thought. Clearly fdisk let you make that many but I wouldn't be surprised if the kernel wasn't too happy about it.

Anyway. Boot into single-user mode. fsck each filesystem by hand. Find the one that broke.

Also it's probably Not Good to have only 7 fsck passes. Since all those filesystems are on the same disk they'll all be contending for control of the disk head. On pass 5 you've got 15 filesystems all trying to fsck simultaneously.

(I assume you've got windows on hda1.)

In the future, I'd suggest running a simple script from cron that watches directories and emails you when they get too big. 'du -sh $DIR' will give you quick, human-readable results. It also scales past 64 partitions, which is the current kernel limit.

At any rate I wouldn't try to put more than 16 partitions on an x86 disk (hda1 real, 2-4 extended, and four logicals in each extended; windows used to have issues with booting from a logical partition so hda1 had to be real).
Back to top
View user's profile Send private message
Gruffi
Apprentice
Apprentice


Joined: 15 Aug 2003
Posts: 209
Location: Antwerpen - Flanders - Belgium

PostPosted: Sun Feb 01, 2004 12:53 pm    Post subject: Reply with quote

ajaxx wrote:
Frankly I'm amazed that it worked even for a little while. The extended partition scheme on x86 machines only allows for 4 logical partitions within each extended partition. Or so I thought. Clearly fdisk let you make that many but I wouldn't be surprised if the kernel wasn't too happy about it.

Ok i didn't know that, so the maximum would be 4x4 partition?
Quote:
Anyway. Boot into single-user mode. fsck each filesystem by hand. Find the one that broke.

I did, it says all filesystems are clean :? I did fsck /dev/hdaX for every partition.
Quote:
Also it's probably Not Good to have only 7 fsck passes. Since all those filesystems are on the same disk they'll all be contending for control of the disk head. On pass 5 you've got 15 filesystems all trying to fsck simultaneously.

Ok i've changed that, thanks.
Quote:
(I assume you've got windows on hda1.)

Your assumption is right.
Quote:
In the future, I'd suggest running a simple script from cron that watches directories and emails you when they get too big. 'du -sh $DIR' will give you quick, human-readable results. It also scales past 64 partitions, which is the current kernel limit.

I have the alias dix for that (alias dix="du -chx --max-depth=1"), setting it up in a cron would be a good idea.
Quote:
At any rate I wouldn't try to put more than 16 partitions on an x86 disk (hda1 real, 2-4 extended, and four logicals in each extended; windows used to have issues with booting from a logical partition so hda1 had to be real).

Ok that answers my first question, thanks. Maybe i've overdone it just a little. :roll:

Thanks for all the information :D I guess i have te reorganize some stuff on my hd :wink:
_________________
... and we will show Microsoft, that they cannot take whatever they want. And that Free Software is our software!
Back to top
View user's profile Send private message
Gruffi
Apprentice
Apprentice


Joined: 15 Aug 2003
Posts: 209
Location: Antwerpen - Flanders - Belgium

PostPosted: Sun Feb 01, 2004 1:09 pm    Post subject: Reply with quote

Just to be sure i booted from the livecd and rechecked all filesystems.

Is it normal that fsck.xfs doesn't output any information except "fsck version X (date)" ?

/dev/hda24 has 36% "non-contigeous" space, is this a problem?
_________________
... and we will show Microsoft, that they cannot take whatever they want. And that Free Software is our software!
Back to top
View user's profile Send private message
Elm0
Apprentice
Apprentice


Joined: 24 Nov 2002
Posts: 281
Location: UK

PostPosted: Tue Feb 17, 2004 5:07 pm    Post subject: Reply with quote

Its best only to partition of your root folders (eg. /usr /var although /home is the most popular one, /var/log is also a good one to guard against hackers filling up your HD space with extra log entries, but is mainly used on servers). I really can't see any logic behind the partition table you currently have, its wasting a HUGE amount of space with all the journals and table blocks you have, and as the man above says, x86 has some serious problems with supporting that many!

To keep track of disk use, try writing yourself a nice script in your preferred language which will read a text file with the following layout:

Code:

# directory max size (MB)
/usr/portage 500
/home/bob 20000


Which will then use du, compare the size to your max limit, print the directory, current size, max size and available space, and if its over a certain amount print the output in Red.

A much more elegant solution, I'll think you'll agree ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum