# Lost disk partition table. How do I take out data from the disk?

**URL:** <https://community.unix.com/t/lost-disk-partition-table-how-do-i-take-out-data-from-the-disk/395351>\
**Category:** Solaris\
**Created:** [September 18, 2024, 4:39am UTC](https://community.unix.com/t/lost-disk-partition-table-how-do-i-take-out-data-from-the-disk/395351 "2024-09-18T04:39:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![HB\_11](https://community.unix.com/letter_avatar/hb_11/32/5_5575768a8748004e209b776fc1b2916d.png) [@HB\_11](https://community.unix.com/u/HB_11)\
**Post date:** [September 18, 2024, 4:39am UTC](https://community.unix.com/t/lost-disk-partition-table-how-do-i-take-out-data-from-the-disk/395351/1 "2024-09-18T04:39:00Z")

</div>

Hello everyone,  
Solaris 10 disk lost its partition table. I hope that data are still there.  
So my question is how do I take out data from that disk? There has been a pretty valuable folder on /usr slice.

There is similar partition table data, but not identical.

---

<div class="post-metadata">

**Author:** ![hicksd8](https://community.unix.com/letter_avatar/hicksd8/32/5_5575768a8748004e209b776fc1b2916d.png) [@hicksd8](https://community.unix.com/u/hicksd8)\
**Post date:** [September 18, 2024, 9:15am UTC](https://community.unix.com/t/lost-disk-partition-table-how-do-i-take-out-data-from-the-disk/395351/2 "2024-09-18T09:15:20Z")

</div>

So do you have any idea how the partition table was blown away?

Do you know what the filesystems were? UFS or ZFS?

Are you saying that you don't have any backup of the system (despite the valuable data on it)?

What is the host hardware? Sparc or x86?

---

<div class="post-metadata">

**Author:** ![HB\_11](https://community.unix.com/letter_avatar/hb_11/32/5_5575768a8748004e209b776fc1b2916d.png) [@HB\_11](https://community.unix.com/u/HB_11)\
**Post date:** [September 18, 2024, 7:09pm UTC](https://community.unix.com/t/lost-disk-partition-table-how-do-i-take-out-data-from-the-disk/395351/3 "2024-09-18T19:09:07Z")

</div>

I think UFS and SPARC.

---

<div class="post-metadata">

**Author:** ![hicksd8](https://community.unix.com/letter_avatar/hicksd8/32/5_5575768a8748004e209b776fc1b2916d.png) [@hicksd8](https://community.unix.com/u/hicksd8)\
**Post date:** [September 18, 2024, 8:14pm UTC](https://community.unix.com/t/lost-disk-partition-table-how-do-i-take-out-data-from-the-disk/395351/4 "2024-09-18T20:14:20Z")

</div>

You could try running UFS Explorer to recover data/filesystem

---

<div class="post-metadata">

**Author:** ![MadeInGermany](https://community.unix.com/letter_avatar/madeingermany/32/5_5575768a8748004e209b776fc1b2916d.png) [@MadeInGermany](https://community.unix.com/u/MadeInGermany)\
**Post date:** [September 18, 2024, 8:52pm UTC](https://community.unix.com/t/lost-disk-partition-table-how-do-i-take-out-data-from-the-disk/395351/5 "2024-09-18T20:52:20Z")

</div>

If you have a backup of the partition table then you can restore it, and the filesystems will become accessable.

In general I recommend to run a `prtvtoc` on all mounted UFS partitions and redirect the output to a file `/partition_table`  
This is in addition to the normal file backup.

---

<div class="post-metadata">

**Author:** ![system](https://community.unix.com/uploads/default/original/2X/c/c7e9e16a595259edafe88615719d5c5dcda035c2.png) [@system](https://community.unix.com/u/system)\
**Post date:** [September 28, 2024, 8:52pm UTC](https://community.unix.com/t/lost-disk-partition-table-how-do-i-take-out-data-from-the-disk/395351/6 "2024-09-28T20:52:46Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
