mounting partitions in a usb-penForum: User Feedback Topic: mounting partitions in a usb-pen started by: juamagb1 Posted by juamagb1 on June 18 2006,16:57
Hi, guys!I've installed dsl 2.3 in my old laptop. Its features: Intel MMx 200 MHz (i586), 32 MB RAM, 2 GB hd. I have a 512 MB usb-pen. I explain my problem: I've created 4 ext2 primary partitions on my usb-pen using fdisk and I have . Then I've created one file system per partition using: $ mkfs -t ext2 /dev/sda1 100000 $ mkfs -t ext2 /dev/sda2 100000 $ mkfs -t ext2 /dev/sda3 100000 $ mkfs -t ext2 /dev/sda4 100000 I've changed my /etc/fstab to: /dev/hda1 / ext2 defaults,errors=remount-ro 0 1 proc /proc proc defaultas 0 0 /dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0 /dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto, 0 0 /dev/sda1 /mnt/sda1 ext2 defaults,errors=remount-ro 0 1 /dev/sda2 /mnt/sda2 ext2 defaults,errors=remount-ro 0 1 /dev/sda3 /mnt/sda3 ext2 defaults,errors=remount-ro 0 1 /dev/sda4 /mnt/sda4 ext2 defaults,errors=remount-ro 0 1 Now, I can already do: $ mount /mnt/sda1 $ > /mnt/sda1/myFile $ ls /mnt/sda1 lost+found myFile But when I try to do the same with /mnt/sda2, /mnt/sda3, /mnt/sda4, that occurs: $ mount /mnt/sda2 mount: mount point /mnt/sda2 does not exist Have I done something wrong? Thank you in advance. Posted by juamagb1 on June 18 2006,19:17
Hi again!I've just solved the problem! I've deleted the lines about /mnt/sda1, /mnt/sda2, /mnt/sda3, /mnt/sda4 in /etc/fstab. Then I've rebooted. I can already do: $ mount /mnt/sda1 $ mount /mnt/sda2 $ mount /mnt/sda3 $ mount /mnt/sda4 And also: $ > /mnt/sda1/myFileTo1 $ > /mnt/sda2/myFileTo2 $ > /mnt/sda3/myFileTo3 $ > /mnt/sda4/myFileto4 And now I've tested software RAID succesfully: I copied from another machine the utility mdadm (creating software RAID) into a floppy and copied it into /usr/bin in my old laptop with dsl 2.3 Then I did: $ mdadm --create /dev/md0 --chunk=128 --level=0 --raid-devices=4 /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda4 mdadm: /dev/sda1 appears to contain an ext2fs file system size=50000K mtime=Mon Jun 19 20:57:55 2006 mdadm: /dev/sda2 appears to contain an ext2fs file system size=50000K mtime=Mon Jun 19 20:58:05 2006 mdadm: /dev/sda3 appears to contain an ext2fs file system size=50000K mtime=Mon Jun 19 20:57:58 2006 mdadm: /dev/sda4 appears to contain an ext2fs file system size=50000K mtime=Mon Jun 19 20:58:01 2006 Continue creating array? y mdadm: array /dev/md0 started It worked! But now...How to mount it? "mount /mnt/md0" doesn't work Anyone knows how to do it? Thank you in advance. |