svaucher
03-01-2009, 07:43
I've just received my router and I want to setup a 1TB HD to it. To allow me to store backups for my different machines. I setup a few partitions using gparted (under ubuntu).
Here is the setup as described by fdisk. Linux partitions were set as ext3.
[admin@WL-00235407FDEB /mnt]$ fdisk /dev/discs/disc0/disc
The number of cylinders for this disk is set to 121601.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/discs/disc0/disc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/discs/disc0/part1 1 653 5245191 83 Linux
/dev/discs/disc0/part2 654 1306 5245222+ 83 Linux
/dev/discs/disc0/part3 1307 1567 2096482+ 82 Linux swap
/dev/discs/disc0/part4 1568 121601 964173105 5 Extended
/dev/discs/disc0/part5 1568 18276 134215011 7 HPFS/NTFS
/dev/discs/disc0/part6 18277 121601 829958031 83 Linux
Command (m for help):
Partition 1 should be my router's root, and partition 3 my swap. Partition 2 is for booting another device and 5-6 are for storage. They are on an *extended* partition. I don't know if that is supported.
My problem is that I cannot mount the linux partitions that were create on ubuntu even though they were formatted as ext3. After executing 'mke2fs -j' on my empty partitions (1-2), I can mount them, but that is currently not an option for my backup partition which is too large. (unless mke2fs is nice and doesn't touch my data :p).
BEFORE mke2fs:
[admin@WL-00235407FDEB root]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 3072 3072 0 100% /
/dev/discs/disc0/part5 134215008 383804 133831204 0% /tmp/mnt/disc0_5
AFTER:
[admin@WL-00235407FDEB root]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 3072 3072 0 100% /
/dev/discs/disc0/part1 5162796 144608 4755932 3% /tmp/mnt/disc0_1
/dev/discs/disc0/part2 5162828 131228 4769340 3% /tmp/mnt/disc0_2
/dev/discs/disc0/part5 134215008 383804 133831204 0% /tmp/mnt/disc0_5
I'm not sure how I can diagnose the problem with my data partition. I performed a e2fsck on partition 6 (my backup format):
[admin@WL-00235407FDEB root]$ time e2fsck -p /dev/discs/disc0/part6
Linux storage: clean, 1929832/51879936 files, 75570964/207489507 blocks
real 0m 1.42s
user 0m 1.23s
sys 0m 0.09s
I saw the message http://wl500g.info/showthread.php?t=13178 which describes the same symptoms, but does not provide a solution.
Any insight would be appreciated.
Cheers,
Stephane Vaucher
Here is the setup as described by fdisk. Linux partitions were set as ext3.
[admin@WL-00235407FDEB /mnt]$ fdisk /dev/discs/disc0/disc
The number of cylinders for this disk is set to 121601.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/discs/disc0/disc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/discs/disc0/part1 1 653 5245191 83 Linux
/dev/discs/disc0/part2 654 1306 5245222+ 83 Linux
/dev/discs/disc0/part3 1307 1567 2096482+ 82 Linux swap
/dev/discs/disc0/part4 1568 121601 964173105 5 Extended
/dev/discs/disc0/part5 1568 18276 134215011 7 HPFS/NTFS
/dev/discs/disc0/part6 18277 121601 829958031 83 Linux
Command (m for help):
Partition 1 should be my router's root, and partition 3 my swap. Partition 2 is for booting another device and 5-6 are for storage. They are on an *extended* partition. I don't know if that is supported.
My problem is that I cannot mount the linux partitions that were create on ubuntu even though they were formatted as ext3. After executing 'mke2fs -j' on my empty partitions (1-2), I can mount them, but that is currently not an option for my backup partition which is too large. (unless mke2fs is nice and doesn't touch my data :p).
BEFORE mke2fs:
[admin@WL-00235407FDEB root]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 3072 3072 0 100% /
/dev/discs/disc0/part5 134215008 383804 133831204 0% /tmp/mnt/disc0_5
AFTER:
[admin@WL-00235407FDEB root]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 3072 3072 0 100% /
/dev/discs/disc0/part1 5162796 144608 4755932 3% /tmp/mnt/disc0_1
/dev/discs/disc0/part2 5162828 131228 4769340 3% /tmp/mnt/disc0_2
/dev/discs/disc0/part5 134215008 383804 133831204 0% /tmp/mnt/disc0_5
I'm not sure how I can diagnose the problem with my data partition. I performed a e2fsck on partition 6 (my backup format):
[admin@WL-00235407FDEB root]$ time e2fsck -p /dev/discs/disc0/part6
Linux storage: clean, 1929832/51879936 files, 75570964/207489507 blocks
real 0m 1.42s
user 0m 1.23s
sys 0m 0.09s
I saw the message http://wl500g.info/showthread.php?t=13178 which describes the same symptoms, but does not provide a solution.
Any insight would be appreciated.
Cheers,
Stephane Vaucher