1

Restoring a GPT XFS partition?

view story
linux-howto

http://serverfault.com – I recently added some storage to a RAID array with a single large XFS volume. To expand the volume I normally use parted to remove the partition and then recreate it so that it spans the entire volume. However, I accidentally removed a partition from /dev/sdb1 instead of /dev/sdb, and cannot seem to restore the partition. BEFORE: /dev/sdb looked something like: (parted) unit s (parted) print Model: xxx Disk /dev/sdb: 58589705392s Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size (HowTos)