set-up-sw-raid1-on-a-running-lvm-system-ubuntu-10.04 - Problem

Discussion in 'HOWTO-Related Questions' started by lucho115, Jun 13, 2011.

  1. lucho115

    lucho115 New Member

    Hi, iam try to do a setup thats descripted in this how to:

    But when i try to copy the partition table from /dev/sda to /dev/sdb with this code:

    sfdisk -d /dev/sda | sfdisk --force /dev/sdb
    I get this error:
    /dev/sdb: Permiso denegado 
    sfdisk: No se puede abrir /dev/sdb para lectura-escritura
    Atención: la partición extendida no empieza en un lÃ*mite de cilindro.
    DOS y Linux interpretarán el contenido de forma diferente.
    The system is in spanish, but the error says that /dev/sdb : permission deny
    and then : sfdidk : cant open /dev/sdb for read-write
    and then says: The extended partition not start in a cilinder limit. Dos and Linux can see the content of diferent way.

    Can anybody helpme? why i have this error?

    tnks and sorry about my english.
  2. lucho115

    lucho115 New Member

    SOLVED, like the editor not use "sudo" you have to used like this:

    sudo sfdisk -d /dev/sda | sudo sfdisk --force /dev/sdb
  3. falko

    falko Super Moderator ISPConfig Developer

    You must carry out all commands from that tutorial with root permissions. You can run
    sudo su
    to become root.

Share This Page