Help - Search - Members - Calendar
Full Version: Diskdrake
Scot's Newsletter Forums > Main > Bruno's All Things Linux
Owyn
I have just added a 120GB drive to my test system as hdb.

Initial setup is as follows

CODE
[root@TestMdk92 mnt]# fdisk -l /dev/hdb

Disk /dev/hdb: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot    Start       End    Blocks   Id  System
/dev/hdb1   *         1      2039  16378236   83  Linux
/dev/hdb2          2040      6498  35816917+   5  Extended
/dev/hdb5          2040      2676   5116671   83  Linux
/dev/hdb6          2677      3313   5116671   83  Linux
/dev/hdb7          3314      3950   5116671   83  Linux
/dev/hdb8          3951      4587   5116671   83  Linux
/dev/hdb9          4588      5224   5116671   83  Linux
/dev/hdb10         5225      5861   5116671   83  Linux
/dev/hdb11         5862      6498   5116671   83  Linux


hdb1(16GB) is for large downloads (eg. SuSE wget) and installs from hd
hdb5-hdb11(5GB) are for installs of new distros (single partion per install)
The rest of the disk is unpartitioned at this time.
The linux swap and other installed os's are on hda

I was able to use diskdrake to format hdb1 and hdb5, but, the other partitions would not format. The format button was available, It started the format process, but status was always left at Not Formatted.

I exited and restarted diskdrake, and still had the same problem.

Finally, I deleted hdb6-hdb11, and recreated them. This time I formatted them one at a time as I created them. Seemed to work.

Strange. Seems to be some sort of problem if you have too many unformatted partitions.
Bruno
Strange indeed Owyn . . I never came across this, maybe just because I usually format as soon as I create them like you did the second time.

Must be bliss to add 120 GB to your system,. Santa was right on target there ! wink.gif


cool.gif Bruno
teacher
I'm beginning to feel a lot less like an idiot! I have had problems with this in 9.2 and thought it was just my inability to follow directions or do something correctly. I played with exiting and coming back. Hmmm.
Owyn
More problems but I finally tracked down a major symptom/cause of the problems.

The dev links for hdb7-hdb11 had not been created and journals had not been created on hdb5.

I tried manually creating a symlink for hdb7 but it did not work. Finally rebooted and checked dev. Ok now.

Then manually ran

# su
# mke2fs -j /dev/hdb5
....
# mke2fs -j /dev/hdb11

Then reran

# diskdrake

And now all partitions showing properly as journalled fs.

I assume this formatting problem is the root cause of my wget problems with SuSE.
Owyn
Just a followup on this topic.

None of the partitions were formatted properly.

It looks like the only safe way to use diskdrake is to format the partitions at the same time as you create them. IE: One at a time.
teacher
I went and looked at the partitions last night in the MCC. Everything for Mandrake was listed correctly. Everything on my other drive except the FAT32 partition was listed as unformatted despite my knowing that two different distros were installed on those partitions. I think it must have something to do with it not being mounted so it does not show the correct format status.
Owyn
I know for sure that partitions that I had formatted as ext3 were ext2 (unjournalled). Also the major mixup on the 16GB partition that turned out to have only 4GB capacity.

Thank goodness for "mke2fs -j".
Bruno
QUOTE
is to format the partitions at the same time as you create them
Why does this sound so logical to me ? biggrin.gif biggrin.gif Sorry that you had all these problems with DiskDrake, never had any hiccup using it . . . wink.gif


cool.gif Bruno
teacher
What is strange to me and makes me think of a bug is that they all are in use by different programs. How can a distro use a partition that is not formatted???

By the way, when I went in to do try 2 on SuSe it wanted to take my lovely Mandrake partitions and "repair" them. I wisely told them "No!" and yes I checked, Mandrake is still in fine condition.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.