Ticket #214 (closed defect: fixed)
CryptoNAS doesn't reread updated partition tables from internal disks
| Reported by: | frisco | Owned by: | lars |
|---|---|---|---|
| Priority: | normal | Milestone: | cryptonas-server 0.4.0 |
| Component: | debian-package | Version: | svn |
| Severity: | normal | Keywords: | partition, BLKRRPART |
| Cc: |
Description
After a change is made to the partition table of an internal disk (IDE or SCSI, for example), the /disks page typically does not show the updated list of partitions. /proc/partitions shows the old set of information as well. The simplest way to fix this is to run
blockdev --rereadpt /dev/sdX
to cause the kernel to refresh its information about partitions after every change CryptoNAS makes to partition tables. (The actual ioctl is called BLKRRPART.) partprobe can also accomplish this, but I don't trust it as much.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
