Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
physical volume type
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Wed Aug 18, 2010 9:12 am    Post subject: physical volume type Reply with quote

I made one volume group from three old hard drives:
Code:
# pvdisplay
  --- Physical volume ---
  PV Name               /dev/sda3
  VG Name               VG
  PV Size               185.19 GiB / not usable 2.46 MiB
  Allocatable           yes (but full)
  PE Size               4.00 MiB
  Total PE              47408
  Free PE               0
  Allocated PE          47408
  PV UUID               A80KVp-B2Oh-BTNc-wcr7-4MhX-LVWj-ES0J7o
   
  --- Physical volume ---
  PV Name               /dev/sdb1
  VG Name               VG
  PV Size               111.79 GiB / not usable 2.94 MiB
  Allocatable           yes (but full)
  PE Size               4.00 MiB
  Total PE              28617
  Free PE               0
  Allocated PE          28617
  PV UUID               iu0F7W-s9xg-JrWU-9zFg-giJB-dajP-R9ufxV
   
  --- Physical volume ---
  PV Name               /dev/sdc1
  VG Name               VG
  PV Size               152.66 GiB / not usable 3.79 MiB
  Allocatable           yes
  PE Size               4.00 MiB
  Total PE              39081
  Free PE               33954
  Allocated PE          5127
  PV UUID               r06fDB-nmlE-tWNj-Wrf2-bhRC-3M3G-1mcyRX


The last two used to be formatted NTFS, and fdisk gives:
Code:
# fdisk -l /dev/sdb

Disk /dev/sdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x293a2939

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              63   234436544   117218241    7  HPFS/NTFS
# fdisk -l /dev/sdc

Disk /dev/sdc: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders, total 320173056 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xd271f70c

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1              63   320159384   160079661    7  HPFS/NTFS


I am wondering does it matter that I run fdisk to change the Id? Can I do it live? Is it even relevant?
_________________
-----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54821
Location: 56N 3W

PostPosted: Wed Aug 18, 2010 5:48 pm    Post subject: Reply with quote

mathfeel,

The ID is not relevant as long as its not 0xfd or 0x05. You can change it if you want,, its just a single byte in the partition table.

0x05 indicates an extended partition
0xfd indicates a Linux raid autodetect partition.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum