Initialzing a system disk does not delete the data on any data disk. But all the data disks are unmounted. So you have to mount the data disks again.
To mount a data disk after a system disk is initialized, follow these steps:
mountcommand to view the data disk mount status.
fdisk -lcommand to view partitioned data disks, such as
/dev/xvdb1in this example. For more information about how to partition and format a newly purchased data disk, see Linux Format and Mount Data Disk.
mount /dev/xvdb1/ directorycommand to mount a data disk, such as the
/alidata1directory in this example.
mountcommand, and you will see that the data disk has been mounted and the format is ext4.
Modify /etc/fstab to mount files automatically and increase the number of mounted data disk entries. Partition types include ext3 and ext4. The partition type matches the result shown after you run the
mountcommand, such as
ext4in this example.
umountcommand to unmount the disk.
mount -acommand to view whether the disk can be automatically mounted.