# File lib/rudy/metadata/disk.rb, line 88 88: def create(size=nil, zone=nil, snapshot=nil) 89: raise DuplicateRecord, self.name if exists? && !@@global.force 90: vol = Rudy::AWS::EC2::Volumes.create(size || @size, zone || @zone, snapshot) 91: #vol = Rudy::AWS::EC2::Volumes.list(:available).first # debugging 92: @volid, @raw = vol.awsid, true 93: self.save :replace 94: self 95: end