LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Software RAID on UBUNTU 10.10. (https://www.linuxquestions.org/questions/linux-software-2/software-raid-on-ubuntu-10-10-a-875831/)

bluewire 04-19-2011 04:25 AM

Software RAID on UBUNTU 10.10.
 
Hi people.

I get these from fdisk :

Disk /dev/sda: 320.1 GB, 320072933376 bytes
240 heads, 63 sectors/track, 41345 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000001

Device Boot Start End Blocks Id System
/dev/sda1 * 1 41344 312560608+ 7 HPFS/NTFS

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0006a20f

Device Boot Start End Blocks Id System
/dev/sdb1 1 134 1073152 fd Linux raid autodetect
Partition 1 does not end on cylinder boundary.
/dev/sdb2 134 60802 487310337 5 Extended
/dev/sdb5 134 742 4881408 fd Linux raid autodetect
/dev/sdb6 742 12900 97654784 fd Linux raid autodetect
/dev/sdb7 12900 60802 384772096 fd Linux raid autodetect

Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b87ef

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 134 1073152 fd Linux raid autodetect
Partition 1 does not end on cylinder boundary.
/dev/sdc2 134 60802 487310337 5 Extended
/dev/sdc5 134 742 4881408 fd Linux raid autodetect
/dev/sdc6 742 12900 97654784 fd Linux raid autodetect
/dev/sdc7 12900 60802 384772096 fd Linux raid autodetect

Disk /dev/md0: 2197 MB, 2197684224 bytes
2 heads, 4 sectors/track, 536544 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 131072 bytes
Disk identifier: 0x00000000

Disk /dev/md0 doesn't contain a valid partition table

Disk /dev/md1: 9996 MB, 9996992512 bytes
2 heads, 4 sectors/track, 2440672 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 131072 bytes
Disk identifier: 0x00000000

Disk /dev/md1 doesn't contain a valid partition table

Disk /dev/md2: 200.0 GB, 199996866560 bytes
2 heads, 4 sectors/track, 48827360 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 131072 bytes
Disk identifier: 0x00000000

Disk /dev/md2 doesn't contain a valid partition table

Disk /dev/md3: 788.0 GB, 788013121536 bytes
2 heads, 4 sectors/track, 192386016 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 131072 bytes
Disk identifier: 0x00000000

Disk /dev/md3 doesn't contain a valid partition table


And during the load up i get something like udevd-work[114]:inotify_add_watch(6 /dev/sdb1, 10) failed : no such file or directory and that changed to another device as well.System loads up ok but i noticed also that the swap is not being used.

free gives me this :

total used free shared buffers cached
Mem: 2059668 2006172 53496 0 77904 1451996
-/+ buffers/cache: 476272 1583396
Swap: 9762684 0 9762684


Why is that? Is something wrong w/ my RAID? I have RAID0.

mande01 04-19-2011 03:31 PM

Have you tried:
http://ubuntuforums.org/showthread.php?p=9967736

Is your issue actually causing a problem or just reporting an error?
Is your swap not being used and it should or just not being used?
Try to load up something that should make use of swap?

I don't think this will help but I am researching issue around raid in prep for building my first raid system.

Derry

bluewire 04-19-2011 04:04 PM

I just get the error msgs.The system loads and works fine.What about my swap?I tried to load it up and the used swap remains 0.What should i do?

mande01 04-20-2011 04:43 AM

If the system is working fine I would just file a bug report.

Add your information to the Ubuntu forums as well it may add more weight to it.

I don't know your set up but i have a Ubuntu box with 1.5 GB ram and it very rarely uses swap, maybe you just don't need it yet!
As a really brutish way of checking the swap load up some virtual machines on the system at one go and see if it starts using the swap?

Sorry I'm not of much help.
Derry


All times are GMT -5. The time now is 07:15 PM.