amazon s3 - EBS Volume from Ubuntu to RedHat -
i use ebs volume data on i've been working in ubuntu ami in redhat 6 ami. issue i'm having redhat says volume not have valid partition table. fdisk output unmounted volume.
disk /dev/xvdk: 901.9 gb, 901875499008 bytes
255 heads, 63 sectors/track, 109646 cylinders
units = cylinders of 16065 * 512 = 8225280 bytes
sector size (logical/physical): 512 bytes / 512 bytes
i/o size (minimum/optimal): 512 bytes / 512 bytes
disk identifier: 0x00000000
disk /dev/xvdk doesn't contain valid partition table
interestingly, volume isn't 901.9 gb 300 gb.. don't know if means anything. concerned possibly erasing data in volume accident. can give me pointers formatting volume redhat without deleting contents?
i checked volume works in ubuntu instance , does.
i'm not able advise on partition issue such, other stating neither need nor want format it, because formatting indeed (potentially) destructive operation. best guess redhat isn't able identify file system in use on ebs volume, must advertized means accordingly.
however, ease experimenting , gain peace of mind, should acquainted 1 of major amazon ebs features, namely create point-in-time snapshots of volumes, persisted amazon s3:
these snapshots can used starting point new amazon ebs volumes, , protect data long-term durability. same snapshot can used instantiate many volumes wish.
this detailed further down in section amazon ebs snapshots:
snapshots can used instantiate multiple new volumes, expand size of volume or move volumes across availability zones. when new volume created, there option create based on existing amazon s3 snapshot. in scenario, the new volume begins exact replica of original volume. [...] [emphasis mine]
therefore can (and should) start experiments or configuration changes 1 perform @ least snapshotting volume (which allow create new 1 point in time in case things go bad) or creating new volume snapshot specific task @ hand.
you can create snapshots , new volumes snapshots via aws management console, usual there respective apis available automation purposes (see api , command overview) - see creating amazon ebs snapshot details.
good luck!.
Comments
Post a Comment