Re: RAID, 2.4.2 and Buslogic

2001-03-07 Thread Andreas Dilger
by halting the system before more damage was done? -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert - To unsubs

Re: [linux-lvm] EXT2-fs panic (device lvm(58,0)):

2001-03-07 Thread Andreas Dilger
)le32_to_cpu(raw_inode-i_size_high)) 32); } inode-i_generation = le32_to_cpu(raw_inode-i_generation); + inode-u.ext2_i.i_prealloc_count = 0; inode-u.ext2_i.i_block_group = block_group; /* -- Andreas Dilger \ "If a man ate a pound of pasta and a

Re: apparent file corruption on 2.4.2

2001-03-02 Thread Andreas Dilger
s. Sometimes there is a problem with files > 2GB in size, but there should be no problems with block special or pipes. What sort of errors do you get, and is there anything in syslog? Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,

Re: apparent file corruption on 2.4.2

2001-03-02 Thread Andreas Dilger
GB in size, but there should be no problems with block special or pipes. What sort of errors do you get, and is there anything in syslog? Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hung

Re: Hashing and directories

2001-03-01 Thread Andreas Dilger
ed, the tree can be rebuilt. Actually, with Daniel's implementation, the index blocks will be in the same file as the directory leaf nodes, so there should be no problem in losing leaf blocks after a crash (not more so than the current ext2 setup). Cheers, Andreas -- Andreas Dilger \ "If

Re: Hashing and directories

2001-03-01 Thread Andreas Dilger
be rebuilt. Actually, with Daniel's implementation, the index blocks will be in the same file as the directory leaf nodes, so there should be no problem in losing leaf blocks after a crash (not more so than the current ext2 setup). Cheers, Andreas -- Andreas Dilger \ "If a man ate a

Re: PROBLEM: Kernel bug in inode.c:885 when floppy disk removed

2001-02-28 Thread Andreas Dilger
t2_sb.s_inode_bitmap[bitmap_nr]; - - is_directory = S_ISDIR(inode->i_mode); - - /* Do this BEFORE marking the inode not in use */ - clear_inode (inode); /* Ok, now we can actually update the inode bitmaps.. */ if (!ext2_clear_bit (bit, bh->b_data)) -- Andreas Dilge

Re: PROBLEM: Kernel bug in inode.c:885 when floppy disk removed

2001-02-28 Thread Andreas Dilger
ode bitmaps.. */ if (!ext2_clear_bit (bit, bh-b_data)) -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert - To unsubscrib

Re: Dynamically altering code segments

2001-02-27 Thread Andreas Dilger
m the running kernel. > > Is it possible to do the same thing in Linux? See IBM "dprobes" project. It is basically what you are describing (AFAIK). It makes sense, because a lot of the OS/2 folks are now working on Linux. Cheers, Andreas -- Andreas Dilger \ "If a man ate

Re: Massive Corruption

2001-02-27 Thread Andreas Dilger
There is a tool called gpart which will search a disk for filesystem headers and such, and will optionally re-build your partition table (if it is corrupted). You should give it a try. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,

Re: Massive Corruption

2001-02-27 Thread Andreas Dilger
a disk for filesystem headers and such, and will optionally re-build your partition table (if it is corrupted). You should give it a try. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still h

Re: Dynamically altering code segments

2001-02-27 Thread Andreas Dilger
to do the same thing in Linux? See IBM "dprobes" project. It is basically what you are describing (AFAIK). It makes sense, because a lot of the OS/2 folks are now working on Linux. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,

Re: 2.2.18/ext2: special file corruption?

2001-02-26 Thread Andreas Dilger
corrupt (the -n option means e2fsck will not fix the filesystem), and then run "debugfs /dev/X", type "dump " and "ncheck inode_number" at the prompt (note you NEED the <> around the inode number for dump). Send the output. Cheers, Andreas -- Andreas Dilge

Re: 2.2.18/ext2: special file corruption?

2001-02-26 Thread Andreas Dilger
not fix the filesystem), and then run "debugfs /dev/X", type "dump inode_number" and "ncheck inode_number" at the prompt (note you NEED the around the inode number for dump). Send the output. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound o

Re: [Ext2-devel] [rfc] Near-constant time directory index for Ext2

2001-02-23 Thread Andreas Dilger
e2fsck anyways. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert - To unsubscribe from this lis

Re: [rfc] Near-constant time directory index for Ext2

2001-02-23 Thread Andreas Dilger
sed layout) as regular directory blocks, so a non-index kernel can use them at any time (of course the index is destroyed in this case). As an aside, lost+found is NOT a "special" name in any way to the filesystem. The only thing that it is used for is e2fsck - to the kernel it is just a regula

Re: filesystem statistics

2001-02-23 Thread Andreas Dilger
ten indexing will be used in an "average" system. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/

Re: Network console project (was: LILO and serial speeds over 9600)

2001-02-23 Thread Andreas Dilger
group_id=20426 > > Unfortunately maillist archives at sourceforge do not work. Yes, I noticed this as well - there are several bug reports open already. I have subscribed some of the mailing lists at sourceforge that I'm using to marc.theaimsgroup.com, which has good searching facilities, etc.

Re: Network console project (was: LILO and serial speeds over 9600)

2001-02-23 Thread Andreas Dilger
at sourceforge do not work. Yes, I noticed this as well - there are several bug reports open already. I have subscribed some of the mailing lists at sourceforge that I'm using to marc.theaimsgroup.com, which has good searching facilities, etc. Cheers, Andreas -- Andreas Dilger \ "If a man ate a

Re: filesystem statistics

2001-02-23 Thread Andreas Dilger
will be used in an "average" system. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert - To unsubs

Re: [rfc] Near-constant time directory index for Ext2

2001-02-23 Thread Andreas Dilger
t; name in any way to the filesystem. The only thing that it is used for is e2fsck - to the kernel it is just a regular directory. Basically, I think the compatibility is excellent for the functionality delivered. Another reason why I think ext2 will continue to have a long and prosperous life, without

Re: [Ext2-devel] [rfc] Near-constant time directory index for Ext2

2001-02-23 Thread Andreas Dilger
s, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert - To unsubscribe from this list: send the line "

Re: [Ext2-devel] [rfc] Near-constant time directory index for Ext2

2001-02-22 Thread Andreas Dilger
then having these entries on disk will be important for 2.2 compatibility, and you don't want to have different on-disk formats between 2.2 and 2.4. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they

Re: [rfc] [LONG] Near-constant time directory index for Ext2

2001-02-22 Thread Andreas Dilger
ext-level index. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert - To unsubscribe from this li

Re: [rfc] [LONG] Near-constant time directory index for Ext2

2001-02-22 Thread Andreas Dilger
of directory block pointers (or contents) when you need to go to the next-level index. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/Peop

Re: [Ext2-devel] [rfc] Near-constant time directory index for Ext2

2001-02-22 Thread Andreas Dilger
or 2.2 compatibility, and you don't want to have different on-disk formats between 2.2 and 2.4. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.uc

Re: EXT2-fs error

2001-02-21 Thread Andreas Dilger
0, inode=0, rec_len=0, > name_len=0 Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert - To unsubsc

Re: [rfc] [LONG] Near-constant time directory index for Ext2

2001-02-21 Thread Andreas Dilger
Daniel Phillips writes: > Andreas Dilger wrote: > > I was just doing the math for 1k ext2 filesystems, and the numbers aren't > > nearly as nice. We get: > > > > (1024 / 16) * 127 * .75 = 6096 # 1 level > > (1024 / 16) * 128

Re: [rfc] Near-constant time directory index for Ext2

2001-02-21 Thread Andreas Dilger
ble and reliable much quicker than if you were to code a new filesystem from scratch for each new feature. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.ene

Re: PROBLEM: ext2 superblock issue on 2.4.1-ac20

2001-02-21 Thread Andreas Dilger
This is an e2fsck message, indicating you may have a corrupt superblock, or the superblock has unsupported features. Which version of e2fsck do you have? Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, l

Re: [rfc] Near-constant time directory index for Ext2

2001-02-21 Thread Andreas Dilger
r 88-byte) dirents for ext3, reducing the files count to 4857 and 621792 (or 78183 and 40029696 for 4k filesystems) at 75% full. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?&qu

Re: [rfc] Near-constant time directory index for Ext2

2001-02-21 Thread Andreas Dilger
the files count to 4857 and 621792 (or 78183 and 40029696 for 4k filesystems) at 75% full. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary

Re: PROBLEM: ext2 superblock issue on 2.4.1-ac20

2001-02-21 Thread Andreas Dilger
, indicating you may have a corrupt superblock, or the superblock has unsupported features. Which version of e2fsck do you have? Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?&

Re: [rfc] Near-constant time directory index for Ext2

2001-02-21 Thread Andreas Dilger
ew feature. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert - To unsubscribe from this

Re: [rfc] [LONG] Near-constant time directory index for Ext2

2001-02-21 Thread Andreas Dilger
Daniel Phillips writes: Andreas Dilger wrote: I was just doing the math for 1k ext2 filesystems, and the numbers aren't nearly as nice. We get: (1024 / 16) * 127 * .75 = 6096 # 1 level (1024 / 16) * 128 * 127 * .75 = 780288 # 2 levels But if you

Re: EXT2-fs error

2001-02-21 Thread Andreas Dilger
Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert - To unsubscribe from this list: sen

Re: [rfc] Near-constant time directory index for Ext2

2001-02-20 Thread Andreas Dilger
ut if any directory has a hash version not equal to the current one we re-hash all the entries in the directory. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.

Re: [lvm-devel] *** ANNOUNCEMENT *** LVM 0.9.1 beta5 available at www.sistina.com

2001-02-20 Thread Andreas Dilger
vfs code (which is probably still broken in other ways). Heinz decided to update the IOP instead. Note that with the new library build, it is possible to have multiple IOP tools installed at the same time, and the correct ones are chosen at runtime based on the kernel IOP. Cheers, Andreas --

Re: [rfc] Near-constant time directory index for Ext2

2001-02-20 Thread Andreas Dilger
ll the entries in the directory. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert - To unsubscrib

Re: [lvm-devel] *** ANNOUNCEMENT *** LVM 0.9.1 beta5 available at www.sistina.com

2001-02-20 Thread Andreas Dilger
broken in other ways). Heinz decided to update the IOP instead. Note that with the new library build, it is possible to have multiple IOP tools installed at the same time, and the correct ones are chosen at runtime based on the kernel IOP. Cheers, Andreas -- Andreas Dilger \ "If a man ate a

Re: Stale super_blocks in 2.2

2001-02-13 Thread Andreas Dilger
mation. Try the following for a searchable mailing list: http://marc.theaimsgroup.com/?l=linux-kernel=1=4 Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.e

Re: Stale super_blocks in 2.2

2001-02-13 Thread Andreas Dilger
the following for a searchable mailing list: http://marc.theaimsgroup.com/?l=linux-kernelr=1w=4 Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/Peop

Re: [patch] make tmpfs_statfs more user friendly

2001-02-05 Thread Andreas Dilger
educed by freepages.min or freepages.low? > + buf->f_blocks = buf->f_bfree + ULONG_MAX - sb->u.shmem_sb.free_blocks; It's not really clear what you are trying to calculate here... Since f_blocks is a long, adding ULONG_MAX == subtracting 1. Maybe it should just hold the total amou

Re: modversions.h source pollution in 2.4

2001-02-05 Thread Andreas Dilger
file for 2.2 and 2.4, so should the #include stay in for 2.2? Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/

Re: [patch] make tmpfs_statfs more user friendly

2001-02-05 Thread Andreas Dilger
-u.shmem_sb.free_blocks; It's not really clear what you are trying to calculate here... Since f_blocks is a long, adding ULONG_MAX == subtracting 1. Maybe it should just hold the total amount of VM in the system, (i.e. totalram_pages)? Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of

Re: Reasons to honor readonly mount requests

2001-02-02 Thread Andreas Dilger
ot quite obviated by the fact that > it's generally unsafe to share a disk if even one party is writing to it. Very true. Any changes made by the writer will not be noticed by the reader if it has already cached those pages. Best to use a cluster filesystem in all of these cases. Cheers, An

Re: A buglet with LVM-0.9.1

2001-02-02 Thread Andreas Dilger
lvmdiskscan -d" and "cat /proc/partitions" and sent the output to [EMAIL PROTECTED] Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.ene

Re: A buglet with LVM-0.9.1

2001-02-02 Thread Andreas Dilger
ions" and sent the output to [EMAIL PROTECTED] Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbe

Re: Reasons to honor readonly mount requests

2001-02-02 Thread Andreas Dilger
f even one party is writing to it. Very true. Any changes made by the writer will not be noticed by the reader if it has already cached those pages. Best to use a cluster filesystem in all of these cases. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pou

Re: Any reason why we can't auto-start LVM (vg's) in the kernel?

2001-01-31 Thread Andreas Dilger
Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert - To unsubscribe from this list: send the line

Re: kernel BUG at inode.c:889!

2001-01-31 Thread Andreas Dilger
t;s_root = NULL; > + printk ("EXT2-fs: corrupt root inode, run e2fsck\n"); > + } else > + printk ("EXT2-fs: get root inode failed\n"); Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of anti

Re: kernel BUG at inode.c:889!

2001-01-31 Thread Andreas Dilger
p_desc[i]); kfree(sb->u.ext2_sb.s_group_desc); brelse (bh); - printk ("EXT2-fs: get root inode failed\n"); return NULL; } ext2_setup_super (sb, es, sb->s_flags & MS_RDONLY); -- Andreas Dilger \ &

Re: kernel BUG at inode.c:889!

2001-01-31 Thread Andreas Dilger
uot;); return NULL; } ext2_setup_super (sb, es, sb-s_flags MS_RDONLY); -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.c

Re: kernel BUG at inode.c:889!

2001-01-31 Thread Andreas Dilger
T2-fs: get root inode failed\n"); Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert - To un

Re: Any reason why we can't auto-start LVM (vg's) in the kernel?

2001-01-31 Thread Andreas Dilger
has no concept of how LVM information is stored on disk. Just trying to see if there is a way (or would make sense) to skip the ramdisk stage in mounting a root logical volume. Need to re-write (or at least seriously enhance) the LVM kernel code to do this. Sorry. Cheers, Andreas -- Andreas

Re: Multiple SCSI host adapters, naming of attached devices

2001-01-30 Thread Andreas Dilger
Michael Pacey writes: > But it looks like I can change the order in driver/scsi/hosts.c, though > this is not an elegant solution :( You can compile the "primary (rootfs)" adapter into the kernel, and load the second adapter as a module. This is supposed to work. Cheers, And

Re: Multiple SCSI host adapters, naming of attached devices

2001-01-30 Thread Andreas Dilger
device names. The same is true with LVM. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert

Re: Multiple SCSI host adapters, naming of attached devices

2001-01-30 Thread Andreas Dilger
. The same is true with LVM. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert - To unsubscribe from

Re: Multiple SCSI host adapters, naming of attached devices

2001-01-30 Thread Andreas Dilger
Michael Pacey writes: But it looks like I can change the order in driver/scsi/hosts.c, though this is not an elegant solution :( You can compile the "primary (rootfs)" adapter into the kernel, and load the second adapter as a module. This is supposed to work. Cheers, Andreas -

Re: Renaming lost+found

2001-01-28 Thread Andreas Dilger
least when it is called "lost+found" you occasionally have a look in there. -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/

Re: Renaming lost+found

2001-01-28 Thread Andreas Dilger
when it is called "lost+found" you occasionally have a look in there. -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilg

Re: Renaming lost+found

2001-01-26 Thread Andreas Dilger
_could_ change it to be a hidden file, but then you would have to remember where it was after e2fsck moves half of your files into it after a crash. It probably wouldn't be too much work to change e2fsck. You also need to change mke2fs and mklost+found as well. Cheers, Andreas -- Andreas Dilger

Re: Partition IDs in the New World TM

2001-01-24 Thread Andreas Dilger
Matt Robinson writes: > Andreas Dilger wrote: > > What would be wrong with changing the kernel to skip the first page of > > swap, and allowing us to put a signature there? This would be really > > useful for systems that mount ext2 filesystems by LABEL or UUID. With >

Re: Under 2.4.0 I can mount same partition twice.

2001-01-23 Thread Andreas Dilger
Dan Graham writes: > I don't know if this is a bug or a feature. While I was > playing around with 2.4.0 I (mistakenly) mounted an ext2 > partition twice. Feature. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,

Re: Marking sectors on IDE drives as bad

2001-01-23 Thread Andreas Dilger
or mke2fs to mark the blocks bad in the filesystem. I would suggest keeping good backups after that. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.uca

Re: Under 2.4.0 I can mount same partition twice.

2001-01-23 Thread Andreas Dilger
Dan Graham writes: I don't know if this is a bug or a feature. While I was playing around with 2.4.0 I (mistakenly) mounted an ext2 partition twice. Feature. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \

Re: Partition IDs in the New World TM

2001-01-22 Thread Andreas Dilger
to care about what disk a filesystem is on. Of course, LVM also fixes this, but not everyone runs LVM. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mdd

Re: Partition IDs in the New World TM

2001-01-22 Thread Andreas Dilger
is on. Of course, LVM also fixes this, but not everyone runs LVM. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/Peop

Re: Is sendfile all that sexy?

2001-01-18 Thread Andreas Dilger
these lines as well (i.e. direct device-device communication). Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/

Re: Is sendfile all that sexy?

2001-01-18 Thread Andreas Dilger
device communication). Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert - To unsubscribe from this list:

Re: Linux not adhering to BIOS Drive boot order?

2001-01-17 Thread Andreas Dilger
ow which array should be /dev/md0? What if you had a second array on /dev/hdb and /dev/hdd, would that become /dev/md0 (assuming it had a kernel/boot sector)? Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ woul

Re: Linux not adhering to BIOS Drive boot order?

2001-01-17 Thread Andreas Dilger
David Balazic writes: > Andreas Dilger <[EMAIL PROTECTED]> wrote : > > In the end I re-wrote most of the patch, so > > that we resolve ROOT_DEV before calling mount_root(), just to be a bit > > more consistent. I will release a new patch for 2.2.18 and 2.4.0 after &

Re: Linux not adhering to BIOS Drive boot order?

2001-01-17 Thread Andreas Dilger
OS drive, and would match search for a UUID or LABEL as the root device. If /etc/fstab is also handled exclusively with UUID or LABEL (or LVM), then you don't care what the drives are called (excluding swap, hmmm, maybe we can add a signature to swap?). Cheers, Andreas -- Andreas Dilger \ "If a m

Re: Linux not adhering to BIOS Drive boot order?

2001-01-17 Thread Andreas Dilger
post after testing a bit. My only hesitation was that kernel probing is frowned upon. When UUID/LABEL support for devfs came up at the Miami Linux Storage Workshop, it was given the thumbs down. If I get a chance I will also fix LILO to allow UUID/LABEL for root as well. Cheers, Andreas -- Andr

Re: Linux not adhering to BIOS Drive boot order?

2001-01-17 Thread Andreas Dilger
really. You have to poke each drive to get the serial number. What if they are IDE or SCSI or FCAL or RAID array? Probably reading a block from a disk is safer than trying to find the drive serial number. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of

Re: 2.0.37 crashes immediately

2001-01-17 Thread Andreas Dilger
ock feature. Even so, it is only a matter of turning the sparse_super flag on or off and running e2fsck on the filesystem to convert. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him

Re: 2.0.37 crashes immediately

2001-01-17 Thread Andreas Dilger
a matter of turning the sparse_super flag on or off and running e2fsck on the filesystem to convert. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.u

Re: Linux not adhering to BIOS Drive boot order?

2001-01-17 Thread Andreas Dilger
each drive to get the serial number. What if they are IDE or SCSI or FCAL or RAID array? Probably reading a block from a disk is safer than trying to find the drive serial number. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,

Re: Linux not adhering to BIOS Drive boot order?

2001-01-17 Thread Andreas Dilger
D or LABEL as the root device. If /etc/fstab is also handled exclusively with UUID or LABEL (or LVM), then you don't care what the drives are called (excluding swap, hmmm, maybe we can add a signature to swap?). Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pou

Re: Linux not adhering to BIOS Drive boot order?

2001-01-17 Thread Andreas Dilger
David Balazic writes: Andreas Dilger [EMAIL PROTECTED] wrote : In the end I re-wrote most of the patch, so that we resolve ROOT_DEV before calling mount_root(), just to be a bit more consistent. I will release a new patch for 2.2.18 and 2.4.0 after David Balazic has a look at it. Cool

Re: Linux not adhering to BIOS Drive boot order?

2001-01-17 Thread Andreas Dilger
on /dev/hdb and /dev/hdd, would that become /dev/md0 (assuming it had a kernel/boot sector)? Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary

Re: super_operations in -pre7

2001-01-16 Thread Andreas Dilger
it breaks every filesystem that isn't part of the kernel. That said, the addition of (reiserfs-specific) read_inode2 and dirty_inode pointers also break all non-kernel filesystems. Argh! Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,

Re: Linux not adhering to BIOS Drive boot order?

2001-01-16 Thread Andreas Dilger
oes from "each time drives are added/moved/removed my system may be broken" to "if I insert two drives with the same label 50% chance my system is broken". I'll take the latter any day. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of anti

Re: Name of SCSI Device

2001-01-16 Thread Andreas Dilger
gt; ID1=sdb > ID2=sdc There are not enough major/minor numbers to do this. > Then, it is possible that we must change /etc/fstab If you are using ext2 (or ext3), it is possible to mount by filesystem LABEL or UUID. See man pages for e2label/tune2fs/dumpe2fs/mount(8)/fstab(5). Cheers,

Re: Linux not adhering to BIOS Drive boot order?

2001-01-16 Thread Andreas Dilger
zens of utilities (e.g. LILO, mount, fsck, dump, etc). One reason why this may NOT ever make it into the kernel is that I know "kernel poking at devices" is really frowned upon. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,

Re: Linux not adhering to BIOS Drive boot order?

2001-01-16 Thread Andreas Dilger
(e.g. LILO, mount, fsck, dump, etc). One reason why this may NOT ever make it into the kernel is that I know "kernel poking at devices" is really frowned upon. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would the

Re: Name of SCSI Device

2001-01-16 Thread Andreas Dilger
There are not enough major/minor numbers to do this. Then, it is possible that we must change /etc/fstab If you are using ext2 (or ext3), it is possible to mount by filesystem LABEL or UUID. See man pages for e2label/tune2fs/dumpe2fs/mount(8)/fstab(5). Cheers, Andreas -- Andreas Dilger \ "If

Re: super_operations in -pre7

2001-01-16 Thread Andreas Dilger
every filesystem that isn't part of the kernel. That said, the addition of (reiserfs-specific) read_inode2 and dirty_inode pointers also break all non-kernel filesystems. Argh! Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \

Re: Linux not adhering to BIOS Drive boot order?

2001-01-16 Thread Andreas Dilger
ed my system may be broken" to "if I insert two drives with the same label 50% chance my system is broken". I'll take the latter any day. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leavin

Re: FS corruption on 2.4.0-ac8

2001-01-15 Thread Andreas Dilger
ending on when last you fsck'd your filesystem, you may have already had some of these disk problems. However, there was another report recently on 2.4.0 that looked the same, and that user had just e2fsck'd his filesystem before booting 2.4.0 for the first time after running only 2.2, so it looks li

Re: FS corruption on 2.4.0-ac8

2001-01-15 Thread Andreas Dilger
t recently on 2.4.0 that looked the same, and that user had just e2fsck'd his filesystem before booting 2.4.0 for the first time after running only 2.2, so it looks like a 2.4.0 bug. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,

Re: *** ANNOUNCEMENT *** LVM 0.9.1 beta1 available at www.sistina.com

2001-01-12 Thread Andreas Dilger
c... Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert - To unsubscribe from this list: send the l

Re: *** ANNOUNCEMENT *** LVM 0.9.1 beta1 available at www.sistina.com

2001-01-12 Thread Andreas Dilger
, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert - To unsubscribe from this list: send the line "unsubscri

Re: Strange umount problem in latest 2.4.0 kernels

2001-01-11 Thread Andreas Dilger
unmounted, and hence root is also busy and can't be ro remounted. Maybe also check /proc/mounts for "none". > umount: /: device is busy > Remounting root-filesystem read-only > mount: / is busy > Rebooting. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta

Re: Strange umount problem in latest 2.4.0 kernels

2001-01-11 Thread Andreas Dilger
busy and can't be ro remounted. Maybe also check /proc/mounts for "none". umount: /: device is busy Remounting root-filesystem read-only mount: / is busy Rebooting. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ wo

Re: [linux-lvm] Oops in 2.4.0 (@ LVM)

2001-01-10 Thread Andreas Dilger
have only 1 partition for the whole disk. It wastes less space. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/

Re: EXT2-fs error in 2.4.0

2001-01-10 Thread Andreas Dilger
l tree. The sequence of events leading to this bug would help a great deal... Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/a

Re: EXT2-fs error in 2.4.0

2001-01-10 Thread Andreas Dilger
would help a great deal... Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert - To unsubscribe from

Re: [linux-lvm] Oops in 2.4.0 (@ LVM)

2001-01-10 Thread Andreas Dilger
s less space. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert - To unsubscribe from this list:

Re: ramfs problem... (unlink of sparse file in "D" state)

2001-01-08 Thread Andreas Dilger
Al Viro writes: > Andreas Dilger wrote: > > Actually, this is wrong. The ext2 inode limit is 2^32 512-byte sectors, > > not 2^32 blocksize blocks. Yes this is a wart and Ted wants to fix it, as > > ??? Where? Oh, wait... ->i_blocks? I'ld rather refuse to grow past 2

<    6   7   8   9   10   11   12   13   >