bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

set raid fails to inform the kernel


From: Carl Fürstenberg
Subject: set raid fails to inform the kernel
Date: Wed, 12 Oct 2011 17:30:57 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1

When I'm using 3TB disks, and trying to set a middle partition to be
raid, which is not in used at the time (the partition), parted complains
it fails to inform the kernel about the change:

---------------------------8<-------------------------------------------------------------------------
address@hidden:~/parted-3.0# ./parted/parted
GNU Parted 3.0
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p                                                               
Model: ATA WDC WD30EURS-63R (scsi)
Disk /dev/sda: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End     Size    File system     Name  Flags
 1      17.4kB  10.7GB  10.7GB  ext3            root
 2      10.7GB  3000GB  2989GB                  home
 3      3000GB  3001GB  1074MB  linux-swap(v1)  swap

(parted) set 2 raid on                                                   
Error: Partition(s) 3 on /dev/sda have been written, but we have been
unable to
inform the kernel of the change, probably because it/they are in use.  As a
result, the old partition(s) will remain in use.  You should reboot now
before
making further changes.
Ignore/Cancel? i                                                         
(parted) p                                                               
Model: ATA WDC WD30EURS-63R (scsi)
Disk /dev/sda: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End     Size    File system     Name  Flags
 1      17.4kB  10.7GB  10.7GB  ext3            root
 2      10.7GB  3000GB  2989GB                  home  raid
 3      3000GB  3001GB  1074MB  linux-swap(v1)  swap

(parted) v                                                               

GNU Parted 3.0

Copyright (C) 1998 - 2006 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

(parted)                                                                 
---------------------------8<-------------------------------------------------------------------------

I dont know if this is per design, but I've never gotten this problem on
=< 2TB disks.

Regards,

Carl Fürstenberg




reply via email to

[Prev in Thread] Current Thread [Next in Thread]