Gene Leung's Blog
  • Home
  • About
  • Collection
  • Author
  • Portal
  • Sign in
  • Subscribe

Bookmarks

You haven't yet saved any bookmarks. To bookmark a post, just click .

Menu

Social

sfdisk

A collection of 2 posts

Assumption: /dev/sdb has problem and need to replace it with a new drive.  sdb has two partitions on raid-1 namely /dev/sdb1 = /boot and /dev/sdb3 = / . 1. cat /proc/mdstat to see the raid information. 2. Use mdadm to fail the drives partition(s) and remove it from the

Replacing failed raid 1 drive

30 June 2009
backup
List the partitions of a device (sda): sfdisk -l /dev/sda Test and show consistent check status on device (sda): sfdisk -V /dev/sda Two ways to create new partitions from an old device (sda): (a) Copy the entire partition table from one disk (sda) to another (sdb) sfdisk -d

Manage partition tables with sfdisk

29 June 2009
Add new tag
Load more posts

1 of 1

Copyright © 2026, Gene Leung's Blog. All Right Reserved.